[cairo] Filling with a pattern

Alexander Shulgin alex.shulgin at gmail.com
Wed Jul 7 12:19:23 PDT 2010


On Wed, Jul 7, 2010 at 15:22, Hakki Dogusan <dogusanh at tr.net> wrote:
> Hi,
>
> I'm trying to fill a rectangle with a -hatch- pattern. I want to apply same
> pattern independent of current scale; ie. pattern's scale shouldn't change.
>
> Can you help me, please?

This must be a FAQ :)

Try reordering your cairo_set_source and cairo_scale calls.

--
Alex


More information about the cairo mailing list