Show All |
Public Member Functions
-
voidmoveTo (const vec2 &p)
-
voidmoveTo (float x, float y)
-
voidlineTo (const vec2 &p)
-
voidlineTo (float x, float y)
-
voidquadTo (const vec2 &p1, const vec2 &p2)
-
voidquadTo (float x1, float y1, float x2, float y2)
-
voidcurveTo (const vec2 &p1, const vec2 &p2, const vec2 &p3)
-
voidcurveTo (float x1, float y1, float x2, float y2, float x3, float y3)
-
voidarc (const vec2 ¢er, float radius, float startRadians, float endRadians, bool forward=true)
-
voidarc (float centerX, float centerY, float radius, float startRadians, float endRadians, bool forward=true)
-
voidarcTo (const vec2 &p, const vec2 &t, float radius)
-
voidarcTo (float x, float y, float tanX, float tanY, float radius)
-
voidclose ()
-
boolempty () const
-
voidclear ()
-
size_tgetNumContours () const
-
const Path2d &getContour (size_t i) const
-
Path2d &getContour (size_t i)
-
const std::vector< Path2d > &getContours () const
-
std::vector< Path2d > &getContours ()
-
const vec2 &getCurrentPoint () const
-
voidappendContour (const Path2d &contour)
-
voidremoveContour (size_t i)