[cairo] polygon fill with patterns

Paolo Bonzini bonzini at gnu.org
Wed Feb 25 07:20:15 PST 2009


cu wrote:
> I'll second this question. I am sure I must have missed something, but
> the only way I found to fill polygons with image so far was to create a
> single image large enough to cover the envelope of polygon entirely, and
> then draw with it.
> 
> Is there a way to draw with a smaller image that will be used as a fill
> repeatedly, as a pattern?

cairo_pattern_set_extend.

Paolo


More information about the cairo mailing list