[cairo] odd line widths are slow

Cliff Brake cliff.brake at gmail.com
Tue Aug 3 13:22:30 PDT 2010


On Tue, Aug 3, 2010 at 3:51 PM, Bill Spitzak <spitzak at gmail.com> wrote:
>
>
> Cliff Brake wrote:
>>
>> On Tue, Aug 3, 2010 at 3:03 PM, Bill Spitzak <spitzak at gmail.com> wrote:
>>>
>>> Translate by .5,.5 before drawing odd line widths so they are aligned
>>> with
>>> the pixels?
>>
>> Would adding 0.5 to x/y before drawing have the same affect as translate?
>
> Yes

We tried that and it did not impact the performance.  I am working to
upgrade our cairo/pixman libs now, and will try again with updated
libs.

Thanks,
Cliff


More information about the cairo mailing list