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: Graham Asher
Subject: RE: [Devel] [bug?] FT_Vector_Rotate
Date: Tue, 13 May 2003 12:53:38 +0100

(In reply to Joseph Koshy):

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.

If you use (1 << 16,0) as the vector, it rotates to (-1,65535) which is off
by 1/65536 in both directions - not too bad, really.

The documentation of both FT_Vector_Rotate and FT_Pos need to be changed.

Graham Asher




reply via email to

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