Show All |
Public Member Functions
-
Context ()
-
Context (const SurfaceBase &surface)
-
Context (const Context &other)
-
~Context ()
-
Context &operator= (const Context &other)
-
voidsave ()
-
voidrestore ()
-
voidflush ()
-
voidpushGroup ()
-
voidpushGroupWithContent (int32_t content)
-
Pattern *popGroup ()
-
voidpopGroupToSource ()
-
voidsetSourceRgb (double red, double green, double blue)
-
voidsetSourceRgba (double red, double green, double blue, double alpha)
-
voidsetSource (const Color &col)
-
voidsetSource (const ColorAf &col)
-
voidsetSource (const Pattern &source)
-
voidsetSourceSurface (SurfaceBase &surface, double x, double y)
-
Pattern *getSource ()
-
voidcopySurface (const SurfaceBase &surface, const Area &srcArea, const ivec2 &dstOffset=ivec2(0))
-
voidcopySurface (const SurfaceBase &surface, const Area &srcArea, const Rectf &dstRect)
-
voidsetAntiAlias (int32_t antialias)
-
int32_tgetAntiAlias ()
-
voidsetDash (const double *dashes, int numDashes, double offset)
-
voidsetDash (const std::vector< double > &dashes, double offset=0)
-
voidunsetDash ()
-
intgetDashCount () const
-
voidgetDash (double *dashes, double *offset)
-
voidsetFillRule (int32_t fill_rule)
-
int32_tgetFillRule ()
-
voidsetLineCap (int32_t line_cap)
-
int32_tgetLineCap ()
-
voidsetLineJoin (int32_t line_join)
-
int32_tgetLineJoin ()
-
voidsetLineWidth (double width)
-
doublegetLineWidth () const
-
voidsetMiterLimit (double limit)
-
doublegetMiterLimit () const
-
voidsetOperator (int32_t op)
-
int32_tgetOperator ()
-
voidsetTolerance (double tolerance)
-
doublegetTolerance () const
-
voidclip ()
-
voidclipPerserve ()
-
voidclipExtents (double *x1, double *y1, double *x2, double *y2)
-
voidresetClip ()
-
voidfill ()
-
voidfillPreserve ()
-
voidfillExtents (double *x1, double *y1, double *x2, double *y2)
-
boolinFill (double x, double y)
-
voidmask (Pattern *pattern)
-
voidmaskSurface (SurfaceBase *surface, double surface_x, double surface_y)
-
voidpaint ()
-
voidpaintWithAlpha (double alpha)
-
voidstroke ()
-
voidstrokePreserve ()
-
voidstrokeExtents (double *x1, double *y1, double *x2, double *y2)
-
boolinStroke (double x, double y)
-
voidcopyPage ()
-
voidshowPage ()
-
voidgetCurrentPoint (double *x, double *y) const
-
vec2getCurrentPoint () const
-
voidnewPath ()
-
voidnewSubPath ()
-
voidclosePath ()
-
voidarc (double xc, double yc, double radius, double angle1, double angle2)
-
voidarc (const vec2 ¢er, double radius, double angle1, double angle2)
-
voidarcNegative (double xc, double yc, double radius, double angle1, double angle2)
-
voidarcNegative (const vec2 ¢er, double radius, double angle1, double angle2)
-
voidquadTo (double x1, double y1, double x2, double y2)
-
voidquadTo (const vec2 &v1, const vec2 &v2)
-
voidcurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
-
voidcurveTo (const vec2 &v1, const vec2 &v2, const vec2 &v3)
-
voidline (const vec2 &v1, const vec2 &v2)
-
voidlineTo (double x, double y)
-
voidlineTo (const vec2 &v)
-
voidmoveTo (double x, double y)
-
voidmoveTo (const vec2 &v)
-
voidrectangle (double x, double y, double width, double height)
-
voidrectangle (const Rectf &r)
-
voidrectangle (const vec2 &upperLeft, const vec2 &lowerRight)
-
voidroundedRectangle (const Rectf &r, float cornerRadius)
-
voidtextPath (const char *utf8)
-
voidrelCurveTo (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)
-
voidrelLineTo (double dx, double dy)
-
voidrelMoveTo (double dx, double dy)
-
voidappendPath (const cinder::Shape2d &path)
-
voidappendPath (const cinder::Path2d &path)
-
voidcircle (double dx, double dy, double radius)
-
voidcircle (const vec2 &v, double radius)
-
voidtranslate (double tx, double ty)
-
voidtranslate (const vec2 &v)
-
voidscale (double sx, double sy)
-
voidrotate (double radians)
-
voidtransform (const Matrix &aMatrix)
-
voidtransform (const mat3 &matrix)
-
voidsetMatrix (const Matrix &aMatrix)
-
voidsetMatrix (const mat3 &matrix)
-
voidgetMatrix (Matrix *aMatrix)
-
mat3getMatrix () const
-
voididentityMatrix ()
-
voiduserToDevice (double *x, double *y)
-
voiduserToDeviceDistance (double *dx, double *dy)
-
voiddeviceToUser (double *x, double *y)
-
voiddeviceToUserDistance (double *dx, double *dy)
-
voidsetFont (const cinder::Font &font)
-
voidselectFontFace (const std::string &family, int32_t slant, int32_t weight)
-
voidsetFontSize (double size)
-
voidsetFontMatrix (const Matrix &matrix)
-
voidgetFontMatrix (Matrix *matrix)
-
voidsetFontOptions (const FontOptions *options)
-
voidgetFontOptions (FontOptions *options)
-
voidsetFontFace (const FontFace &font_face)
-
FontFace *getFontFace ()
-
voidsetScaledFont (const ScaledFont *scaled_font)
-
getScaledFont ()
-
voidshowText (const std::string &s)
-
voidtextPath (const std::string &s)
-
voidglyphPath (uint16_t index, const vec2 &offset)
-
fontExtents ()
-
textExtents (const std::string &s)
-
std::stringstatusToString () const