cairo-Paths {RGtk2} | R Documentation |
Creating paths and manipulating path data
cairoCopyPath(cr)
cairoCopyPathFlat(cr)
cairoAppendPath(cr, path)
cairoGetCurrentPoint(cr, x, y)
cairoNewPath(cr)
cairoNewSubPath(cr)
cairoClosePath(cr)
cairoArc(cr, xc, yc, radius, angle1, angle2)
cairoArcNegative(cr, xc, yc, radius, angle1, angle2)
cairoCurveTo(cr, x1, y1, x2, y2, x3, y3)
cairoLineTo(cr, x, y)
cairoMoveTo(cr, x, y)
cairoRectangle(cr, x, y, width, height)
cairoGlyphPath(cr, glyphs)
cairoTextPath(cr, utf8)
cairoRelCurveTo(cr, dx1, dy1, dx2, dy2, dx3, dy3)
cairoRelLineTo(cr, dx, dy)
cairoRelMoveTo(cr, dx, dy)
CairoPath
cairoCopyPath
and
cairoCopyPathFlat
as well the input value for
cairoAppendPath
.
See CairoPathData
for hints on how to iterate over the
actual data within the path.
The num_data member gives the number of elements in the data
array. This number is larger than the number of independent path
portions (defined in CairoPathDataType
), since the data
includes both headers and coordinates for each portion.
CairoPath
is a transparent-type.
status
CairoStatus
] the current error statusdata
CairoPathData
] the elements in the pathnumData
CairoPathDataType
CairoPathData
is used to describe the type of one portion
of a path when represented as a CairoPath
.
See CairoPathData
for details.
move-to
line-to
curve-to
close-path
Derived by RGtkGen from GTK+ documentation
http://www.cairographics.org/manual/cairo-Paths.html