PHP » GoLang |
login |
register |
about
|
GoLang CairoContext::curveTo
request it (337)
GoLang replacement for PHP's CairoContext::curveTo
[edit | history]
CairoContext::curveTocairo_curve_to(PECL cairo >= 0.1.0) CairoContext::curveTo -- cairo_curve_to — Adds a curve DescriptionObject oriented style (method):
public void CairoContext::curveTo
( float
$x1
, float $y1
, float $x2
, float $y2
, float $x3
, float $y3
)Procedural style:
void cairo_curve_to
( CairoContext
$context
, float $x1
, float $y1
, float $x2
, float $y2
, float $x3
, float $y3
)
Adds a cubic Bezier spline to the path from the current point to position
If there is no current point before the call to CairoContext::curveTo()
this function will behave as if preceded by a call to CairoContext::moveTo()
( Parameters
Return ValuesNo value is returned. Examples
Example #1 Object oriented style
<?php
Example #2 Procedural style
<?php |
more
Recently updated
more
Most requested
more
Last requests
|