It's a fixed-point value. Another common format is 16.16. You can read more about it at http://en.wikipedia.org/wiki/Fixed-point_arithmetic and there are other resources around on the web. Probably the easiest way to think about it is a 26.6 number is actually 1/64th. So, "1" means 1/64, "32" means 32/64 = .5, "64" is 64/64 = 1, etc. It is 1/64 because 6 bits are being used for the decimal portion (2^6).
--Brady On Jan 22, 2010, at 11:44 AM, samaram s wrote: Thanks Bruce.. If you dont mind,Can you explain me little bit more.
On Fri, Jan 22, 2010 at 1:53 PM, Bruce Long <address@hidden> wrote:
In a 32 bit word, 26 bits are used to represent the pixel coordinate and 6 represent the sub-pixel position.
Bruce
-- Give me immortality or give me death!
_______________________________________________ Freetype mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/freetype
|