cairoStrokeExtents {RGtk2} | R Documentation |
Computes a bounding box in user coordinates covering the area that
would be affected, (the "inked" area), by a cairoStroke
operation operation given the current path and stroke
parameters. If the current path is empty, returns an empty
rectangle ((0,0), (0,0)). Surface dimensions and clipping are not
taken into account.
cairoStrokeExtents(cr)
|
[Cairo ] a cairo context |
Note that if the line width is set to exactly zero, then
cairo_stroke_extents will return an empty rectangle. Contrast with
cairoPathExtents
which can be used to compute the non-empty
bounds as the line width approaches zero.
See cairoStroke
, cairoSetLineWidth
, cairoSetLineJoin
,
cairoSetLineCap
, cairoSetDash
, and
cairoStrokePreserve
.
A list containing the following elements:
|
[numeric] left of the resulting extents |
|
[numeric] top of the resulting extents |
|
[numeric] right of the resulting extents |
|
[numeric] bottom of the resulting extents |
Derived by RGtkGen from GTK+ documentation