1 #include "shapes/paint/fill.hpp"
5 PathSpace Fill::pathSpace() const { return PathSpace::Local; }
7 RenderPaint* Fill::initRenderPaint(ShapePaintMutator* mutator)
9 auto renderPaint = Super::initRenderPaint(mutator);
10 renderPaint->style(RenderPaintStyle::fill);
14 void Fill::draw(Renderer* renderer, CommandPath* path)
20 auto renderPath = path->renderPath();
21 renderPath->fillRule((FillRule)fillRule());
22 renderer->drawPath(renderPath, m_RenderPaint);