cairoCopyPathFlat: cairoCopyPathFlat

Description Usage Arguments Details Value Author(s)

View source: R/cairoFuncs.R

Description

Gets a flattened copy of the current path and returns it to the user as a CairoPath. See CairoPathData for hints on how to iterate over the returned data structure.

Usage

1

Arguments

cr

[Cairo] a cairo context

Details

This function is like cairoCopyPath except that any curves in the path will be approximated with piecewise-linear approximations, (accurate to within the current tolerance value). That is, the result is guaranteed to not have any elements of type CAIRO_PATH_CURVE_TO which will instead be replaced by a series of CAIRO_PATH_LINE_TO elements.

This function will always return a valid pointer, but the result will have no data (data== NULL and num_data==0), if either of the following conditions hold:

Value

[CairoPath] the copy of the current path.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.