1 #ifndef _RIVE_SHAPE_PAINT_CONTAINER_HPP_
2 #define _RIVE_SHAPE_PAINT_CONTAINER_HPP_
3 #include "shapes/paint/blend_mode.hpp"
4 #include "shapes/path_space.hpp"
14 class ShapePaintContainer
16 friend class ShapePaint;
19 PathSpace m_DefaultPathSpace = PathSpace::Neither;
20 std::vector<ShapePaint*> m_ShapePaints;
21 void addPaint(ShapePaint* paint);
23 // TODO: void draw(Renderer* renderer, PathComposer& composer);
25 static ShapePaintContainer* from(Component* component);
27 PathSpace pathSpace() const;
29 void invalidateStrokeEffects();
31 CommandPath* makeCommandPath(PathSpace space);