The setSourceRGB purpose

CairoContext::setSource
CairoContext::setSourceRGBA
CairoContext
PHP Manual

# CairoContext::setSourceRGB

# cairo_set_source

(PECL cairo >= 0.1.0)

CairoContext::setSourceRGB -- cairo_set_source — The setSourceRGB purpose

### Description

Object oriented style (method):

public void CairoContext::setSourceRGB ( string `$red` , string `$green` , string `$blue` )

Procedural style:

void cairo_set_source ( CairoContext `$context` , CairoPattern `$pattern` )

Description here.

Warning

This function is currently not documented; only its argument list is available.

### Parameters

`context`

  Description...

`pattern`

  Description...

`red`

  Description...

`green`

  Description...

`blue`

  Description...

### Return Values

Description...

### Examples

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:

    ...

### See Also

- Classname::Method()

CairoContext::setSource
CairoContext::setSourceRGBA
CairoContext
PHP Manual