PHP » GoLang |
login |
register |
about
|
GoLang CairoContext::clipExtents
request it (308)
GoLang replacement for PHP's CairoContext::clipExtents
[edit | history]
CairoContext::clipExtentscairo_clip_extents(PECL cairo >= 0.1.0) CairoContext::clipExtents -- cairo_clip_extents — Computes the area inside the current clip DescriptionObject oriented style (method):
public array CairoContext::clipExtents
( void
)
Procedural style: Computes a bounding box in user coordinates covering the area inside the current clip. Parameters
Return ValuesAn array containing the (float)x1, (float)y1, (float)x2, (float)y2, coordinates covering the area inside the current clip Examples
Example #1 Object oriented style
<?php The above example will output something similar to: array(4) { [0]=> float(0) [1]=> float(0) [2]=> float(50) [3]=> float(50) }
Example #2 Procedural style
<?php The above example will output something similar to: array(4) { [0]=> float(0) [1]=> float(0) [2]=> float(50) [3]=> float(50) } |
more
Recently updated
more
Most requested
more
Last requests
|