[cairo] Problem with cairo_fill

Gerdus van Zyl gerdusvanzyl at gmail.com
Fri Dec 19 02:14:12 PST 2008


Remember any scaling, transform you do is permanent, you must undo it or use
cairo_save/restore.

~Gerdus

On Wed, Dec 17, 2008 at 1:54 PM, abhidhnya sonawane <
abhidhnya.sonawane at gmail.com> wrote:

> No..I am not using cairo_save/cairo_restore.
> But I am using cairo_fill_perserve.
>
> Also I tried with cairo_save and restore...it did not help.
>
> regards.
> Abhidhnya
>
>
> On Wed, Dec 17, 2008 at 4:49 PM, abhidhnya sonawane <
> abhidhnya.sonawane at gmail.com> wrote:
>
>> Hello,
>>
>> I am doing the following:
>>
>> I am drawing a rectangle and scaling it big and small.
>> That happens properly.
>> the problem is  after the scaling part it over ,the drawn  rectangle goes
>> off.
>> I am doing normal drawing in expose event.
>> I am using cairo_fill as I  later wish to use cairo_pattern_t,
>>
>> Please help.
>>
>>
>>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20081219/bac7b30b/attachment.html 


More information about the cairo mailing list