freetype
[Top][All Lists]
Advanced

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

Re: [ft] Scaline for rasterizer?


From: Aya Koshigaya
Subject: Re: [ft] Scaline for rasterizer?
Date: Tue, 8 Sep 2009 11:09:18 +0200

Mhh ... okay, thanks :)

But how do I convert my value to a 26.6 float? And how do I store it in the rasterizer, since FT_POS is declared as "signed long".. not float..?

Thanks,
Aya

On 08.09.2009, at 06:48, Werner LEMBERG wrote:


When I pass a rect with yMin = 0 and yMax = 14660 to it, I get a
rasterized Rect that has a height of 229px... where is the relation
between 14660 and 229..? :/

Well:

 14660 / 229.0625 = 64

Coordinates are given in fixed-float 26.6 format.


   Werner





reply via email to

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