freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Proposal: FT_Round_Fix


From: Tom Kacvinsky
Subject: [Devel] Proposal: FT_Round_Fix
Date: Wed, 7 Mar 2001 08:42:59 -0500 (EST)

Here is a macro (perhaps it ought to be an exported function defined
in ftcalc.c):

   #define FT_Round_Fix( x ) ( ( (x) + 0x8000L ) & -0x10000L )

This is what I propose to use for rounding any fixed value in FreeType.

Tom




reply via email to

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