(PECL cairo >= 0.1.0)
CairoContext::setSourceRGB -- cairo_set_source — The setSourceRGB purpose
Object oriented style (method):
$red
, string $green
, string $blue
)Procedural style:
Description here.
This function is currently not documented; only its argument list is available.
context
Description...
pattern
Description...
red
Description...
green
Description...
blue
Description...
Description...
Example #1 Object oriented style
<?php
/* ... */
?>
The above example will output something similar to:
...
Example #2 Procedural style
<?php
/* ... */
?>
The above example will output something similar to:
...