freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Problems with bbox code and cubic bezier curves


From: Toby J Sargeant
Subject: Re: [Devel] Problems with bbox code and cubic bezier curves
Date: Mon, 23 Apr 2001 22:27:11 +1000
User-agent: Mutt/1.1.9i

On Mon, Apr 23, 2001 at 08:20:24AM -0400, Tom Kacvinsky wrote:
> Right  -- there may be multiple divisions by 2 when subdividing a curve.  
> Ugh...
> Hadn't stopped to think about that one!

I like your argument that the bbox calculation should be pixel correct,
though. Maybe it would be useful to have a function for returning a
pixel correct bounding box, in pixel units, and a glyph bounding box
in glyph units that is ``mathematically correct''.

Given some fast isqrt code, computing the solutions to the derivative
polynomial would likely be faster than doing the curve subdivision,
especially in cases where cpu speed exceeds memory bandwidth by a large
amount.

Toby.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]