cairoSetSource {RGtk2} | R Documentation |
Sets the source pattern within cr
to source
. This pattern
will then be used for any subsequent drawing operation until a new
source pattern is set.
cairoSetSource(cr, source)
|
[Cairo ] a cairo context |
|
[CairoPattern ] a CairoPattern to be used as the source for
subsequent drawing operations. |
Note: The pattern's transformation matrix will be locked to the
user space in effect at the time of cairoSetSource
. This means
that further modifications of the current transformation matrix
will not affect the source pattern. See cairoPatternSetMatrix
.
XXX: I'd also like to direct the reader's attention to some (not-yet-written) section on cairo's imaging model. How would I do that if such a section existed? (cworth).
Derived by RGtkGen from GTK+ documentation