[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cairo vs. art and PDFKit
From: |
Eric Wasylishen |
Subject: |
Re: cairo vs. art and PDFKit |
Date: |
Mon, 27 Feb 2012 12:24:15 -0700 |
On 2012-02-27, at 1:07 AM, Riccardo Mottola wrote:
> Hi Eric,
>
> thank you for looking at this. with the suggested patch, things work clean
> again.
No problem. Great.
> I wonder why it worked on other backends :)
Since I reworked NSImage last year, the code path when drawing is quite
different when cairo is used. It's just by chance that the old code path calls
-drawRect: on the NSImageRep, while the cairo code path happens to use -draw or
-drawAtPoint:
Eric