|
| Path (const ContextHandle &cr) noexcept |
|
cairo_path_t * | getPath (const ContextHandle &handle, const CGraphicsTransform *alignTransform=nullptr) |
|
CGradient * | createGradient (double color1Start, double color2Start, const CColor &color1, const CColor &color2) override |
| creates a new gradient object, you must release it with forget() when you're done with it More...
|
|
bool | hitTest (const CPoint &p, bool evenOddFilled=false, CGraphicsTransform *transform=0) override |
|
CPoint | getCurrentPosition () override |
|
CRect | getBoundingBox () override |
|
void | dirty () override |
| platform object should be released
|
|
virtual void | addArc (const CRect &rect, double startAngle, double endAngle, bool clockwise) |
|
virtual void | addEllipse (const CRect &rect) |
|
virtual void | addRect (const CRect &rect) |
|
virtual void | addPath (const CGraphicsPath &path, CGraphicsTransform *transformation=nullptr) |
|
virtual void | addLine (const CPoint &to) |
|
virtual void | addBezierCurve (const CPoint &control1, const CPoint &control2, const CPoint &end) |
|
virtual void | beginSubpath (const CPoint &start) |
|
virtual void | closeSubpath () |
|
void | beginSubpath (CCoord x, CCoord y) |
|
void | addLine (CCoord x, CCoord y) |
|
void | addBezierCurve (CCoord cp1x, CCoord cp1y, CCoord cp2x, CCoord cp2y, CCoord x, CCoord y) |
|
void | addRoundRect (const CRect &size, CCoord radius) |
|
| ReferenceCounted (const ReferenceCounted &) |
|
ReferenceCounted & | operator= (const ReferenceCounted &) |
|
void | forget () override |
| decrease refcount and delete object if refcount == 0
|
|
void | remember () override |
| increase refcount
|
|
virtual int32_t | getNbReference () const |
| get refcount
|
|
virtual void | beforeDelete () |
|