< prev index next >
src/java.desktop/share/native/libfreetype/src/psaux/psfixed.h
Print this page
*** 70,81 ****
#define cf2_fixedFloor( x ) \
( (CF2_Fixed)( (FT_UInt32)(x) & 0xFFFF0000UL ) )
#define cf2_fixedFraction( x ) \
( (x) - cf2_fixedFloor( x ) )
#define cf2_fracToFixed( x ) \
! ( (x) < 0 ? -( ( -(x) + 0x2000 ) >> 14 ) \
! : ( ( (x) + 0x2000 ) >> 14 ) )
/* signed numeric types */
typedef enum CF2_NumberType_
{
--- 70,80 ----
#define cf2_fixedFloor( x ) \
( (CF2_Fixed)( (FT_UInt32)(x) & 0xFFFF0000UL ) )
#define cf2_fixedFraction( x ) \
( (x) - cf2_fixedFloor( x ) )
#define cf2_fracToFixed( x ) \
! ( ( (x) + 0x2000 - ( (x) < 0 ) ) >> 14 )
/* signed numeric types */
typedef enum CF2_NumberType_
{
< prev index next >