PHP » GoLang |
login |
register |
about
|
GoLang CairoContext::copyPathFlat
request it (363)
GoLang replacement for PHP's CairoContext::copyPathFlat
[edit | history]
PHP CairoContext::copyPathFlatPHP original manual for CairoContext::copyPathFlat [ show | php.net ]CairoContext::copyPathFlatcairo_copy_path_flat(PECL cairo >= 0.1.0) CairoContext::copyPathFlat -- cairo_copy_path_flat — Gets a flattened copy of the current path DescriptionObject oriented style (method): Procedural style: Gets a flattened copy of the current path and returns it to the user as a CairoPath. This function is like CairoContext::copyPath() 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. Parameters
Return ValuesA copy of the current path Examples
Example #1 Object oriented style
<?php The above example will output something similar to: object(CairoPath)#3 (0) { }
Example #2 Procedural style
<?php The above example will output something similar to: object(CairoPath)#3 (0) { } See Also
|
more
Recently updated
more
Most requested
more
Last requests
|