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