CairoContext::setSourceRGBA
cairo_set_source
The setSourceRGBA purpose
Description
Object oriented style (method):
public void CairoContext::setSourceRGBA
( string $red
, string $green
, string $blue
, string $alpha
)
void cairo_set_source
( CairoContext $context
, CairoPattern $pattern
)
WarningThis function is
currently not documented; only its argument list is available.
Parameters
-
context
-
Description...
-
pattern
-
Description...
-
red
-
Description...
-
green
-
Description...
-
blue
-
Description...
-
alpha
-
Description...
Return Values
Description...
Examples
Example #1 Object oriented style
The above example will output
something similar to:
Example #2 Procedural style
The above example will output
something similar to: