cairo-Paths {RGtk2}R Documentation

Paths

Description

Creating paths and manipulating path data

Methods and Functions

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)

Structures

CairoPath
A data structure for holding a path. This data structure serves as the return value for 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 status
data
[CairoPathData] the elements in the path
numData
[integer] the number of elements in the data list

Enums and Flags

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
A move-to operation
line-to
A line-to operation
curve-to
A curve-to operation
close-path
A close-path operation

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://www.cairographics.org/manual/cairo-Paths.html


[Package RGtk2 version 2.12.5-3 Index]