|
virtual void | add (const std::shared_ptr< Path > &path)=0 |
| Add all subpaths in path to this path. More...
|
|
void | add_circle (float center_x, float center_y, float radius) |
|
void | add_circle (const Pointf ¢er, float radius) |
|
void | add_ellipse (float center_x, float center_y, float radius_x, float radius_y) |
|
virtual void | add_ellipse (const Pointf ¢er, const Sizef &radius)=0 |
|
virtual void | add_line (const Pointf &start, const Pointf &end)=0 |
|
void | add_line (float x1, float y1, float x2, float y2) |
|
virtual void | add_rect (const Rectf &box)=0 |
|
void | add_rect (float x, float y, float width, float height) |
|
virtual void | add_rect (const Rectf &box, const uicore::Sizef &corner)=0 |
|
virtual void | apply_transform (const Mat3f &transform)=0 |
| Apply a transformation matrix on all points in this path. More...
|
|
virtual void | bezier_to (const Pointf &control, const Pointf &point)=0 |
|
virtual void | bezier_to (const Pointf &control1, const Pointf &control2, const Pointf &point)=0 |
|
virtual std::shared_ptr< Path > | clone () const =0 |
|
virtual void | close ()=0 |
|
virtual void | fill (const CanvasPtr &canvas, const Brush &brush)=0 |
| Fills a path. More...
|
|
virtual void | fill_and_stroke (const CanvasPtr &canvas, const Pen &pen, const Brush &brush)=0 |
| First fills a path, then strokes on top. More...
|
|
virtual PathFillMode | fill_mode () const =0 |
|
virtual void | line_to (const Pointf &point)=0 |
|
void | line_to (float x, float y) |
|
virtual void | move_to (const Pointf &point)=0 |
|
void | move_to (float x, float y) |
|
virtual void | set_fill_mode (PathFillMode fill_mode)=0 |
|
virtual void | stroke (const CanvasPtr &canvas, const Pen &pen)=0 |
| Strokes a path. More...
|
|
|
static std::shared_ptr< Path > | circle (float center_x, float center_y, float radius) |
|
static std::shared_ptr< Path > | circle (const Pointf ¢er, float radius) |
|
static std::shared_ptr< Path > | create () |
|
static std::shared_ptr< Path > | ellipse (float center_x, float center_y, float radius_x, float radius_y) |
|
static std::shared_ptr< Path > | ellipse (const Pointf ¢er, const Sizef &radius) |
|
static std::shared_ptr< Path > | glyph (const CanvasPtr &canvas, const FontPtr &font, unsigned int glyph, GlyphMetrics &out_metrics) |
|
static std::shared_ptr< Path > | line (const Pointf &start, const Pointf &end) |
|
static std::shared_ptr< Path > | line (float x1, float y1, float x2, float y2) |
|
static std::shared_ptr< Path > | rect (const Rectf &box) |
|
static std::shared_ptr< Path > | rect (float x, float y, float width, float height) |
|
static std::shared_ptr< Path > | rect (const Rectf &box, const uicore::Sizef &corner) |
|