39 std::string
getId()
const;
124 operator bool()
const;
131 :
public std::vector<Shape> {
138 emplace_back(shape_ptr);
139 shape_ptr = shape_ptr->next;
float getStrokeWidth() const
Get stroke width.
Definition: Shape.cpp:35
cstyle::Paint getStroke() const
Get stroke.
Definition: Shape.cpp:27
Vector of shapes.
Definition: Shape.hpp:130
Flags getFlags() const
get Flags
Definition: Shape.cpp:59
LineCap getStrokeLineCap() const
Get stroke line cap.
Definition: Shape.cpp:55
size_t getStrokeDashCount() const
Get stroke dash count.
Definition: Shape.cpp:47
std::string getId() const
Get ID.
Definition: Shape.cpp:19
Shape(const cstyle::ShapeStruct *ptr)
Constructor.
Definition: Shape.cpp:15
C++-styled cstyle::ShapeStruct wrapper.
Definition: Shape.hpp:25
Shape & operator++()
Switches itself to next shape.
Definition: Shape.cpp:79
Nanosvg++ namespace.
Definition: enums.hpp:15
Shape getNextShape() const
Get next shape.
Definition: Shape.cpp:71
PathVector getPaths() const
Get paths.
Definition: Shape.cpp:67
bool good() const
Is ok?
Definition: Shape.cpp:75
float getStrokeDashOffset() const
Get stroke dash offset.
Definition: Shape.cpp:39
cstyle::Paint getFill() const
Get fill paint.
Definition: Shape.cpp:23
const float * getStrokeDashArray() const
Get stroke dash array.
Definition: Shape.cpp:43
const float * getBounds() const
Get bounds.
Definition: Shape.cpp:63
LineJoin getStrokeLineJoin() const
Get stroke line join.
Definition: Shape.cpp:51
Definition: nanosvg.hpp:84
float getOpacity() const
Get opacity.
Definition: Shape.cpp:31
Definition: nanosvg.hpp:102
Vector of paths.
Definition: Path.hpp:100
ShapeVector(cstyle::ShapeStruct *shape_ptr)
Constructor.
Definition: Shape.hpp:136