forked from minhngoc25a/freetype2
* include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.
This macro is not used.
This commit is contained in:
parent
2e4188d833
commit
9d04fa7015
|
@ -1,3 +1,9 @@
|
|||
2017-05-28 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* include/freetype/internal/ftcalc.h (FLOAT_TO_FIXED): Remove.
|
||||
|
||||
This macro is not used.
|
||||
|
||||
2017-05-28 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] s/cf2_floatToFixed/cf2_doubleToFixed/.
|
||||
|
|
|
@ -403,7 +403,6 @@ FT_BEGIN_HEADER
|
|||
#define INT_TO_F2DOT14( x ) ( (FT_Long)(x) << 14 )
|
||||
#define INT_TO_FIXED( x ) ( (FT_Long)(x) << 16 )
|
||||
#define F2DOT14_TO_FIXED( x ) ( (FT_Long)(x) << 2 )
|
||||
#define FLOAT_TO_FIXED( x ) ( (FT_Long)( x * 65536.0 ) )
|
||||
#define FIXED_TO_INT( x ) ( FT_RoundFix( x ) >> 16 )
|
||||
|
||||
#define ROUND_F26DOT6( x ) ( x >= 0 ? ( ( (x) + 32 ) & -64 ) \
|
||||
|
|
Loading…
Reference in New Issue