freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] [bug?] FT_Vector_Rotate


From: Werner LEMBERG
Subject: Re: [Devel] [bug?] FT_Vector_Rotate
Date: Thu, 15 May 2003 08:29:50 +0200 (CEST)

> The bug is in the documentation. FT_Vector_Rotate takes coordinates
> in 16.16 format, not 26.6.  The vector you used was so small that
> the result was swamped by rounding errors.
>
> The documentation of both FT_Vector_Rotate and FT_Pos need to be
> changed.

Indeed.  The very problem is that the FT_Vector structure is used
differently in fttrigon.c (taking the fields as 16.16), compared to
the rest of FreeType (taking the fields as 26.6).

I believe that we have to introduce a new structure, say,
FT_Fixed_Vector, to make this clear.  David?


    Werner



reply via email to

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