Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | CF2_Fixed CF2_F16Dot16 |
#define | CF2_FIXED_MAX ( (CF2_Fixed)0x7FFFFFFFL ) |
#define | CF2_FIXED_MIN ( (CF2_Fixed)0x80000000L ) |
#define | CF2_FIXED_ONE 0x10000L |
#define | CF2_FIXED_EPSILON 0x0001 |
#define | cf2_intToFixed(i) ( (CF2_Fixed)( (FT_UInt32)(i) << 16 ) ) |
#define | cf2_fixedToInt(x) ( (FT_Short)( ( (FT_UInt32)(x) + 0x8000U ) >> 16 ) ) |
#define | cf2_fixedRound(x) ( (CF2_Fixed)( ( (x) + 0x8000 ) & 0xFFFF0000L ) ) |
#define | cf2_floatToFixed(f) ( (CF2_Fixed)( (f) * 65536.0 + 0.5 ) ) |
#define | cf2_fixedAbs(x) ( (x) < 0 ? -(x) : (x) ) |
#define | cf2_fixedFloor(x) ( (CF2_Fixed)( (x) & 0xFFFF0000L ) ) |
#define | cf2_fixedFraction(x) ( (x) - cf2_fixedFloor( x ) ) |
#define | cf2_fracToFixed(x) |
Typedefs | |
typedef FT_Int32 | CF2_Frac |
typedef enum CF2_NumberType_ | CF2_NumberType |
Enumerations | |
enum | CF2_NumberType_ { CF2_NumberFixed, CF2_NumberFrac, CF2_NumberInt } |
#define CF2_Fixed CF2_F16Dot16 |
Definition at line 48 of file cf2fixed.h.
Referenced by cf2_blues_capture(), cf2_blues_init(), cf2_getDefaultWidthX(), cf2_getGlyphWidth(), cf2_getPpemY(), cf2_getStdVW(), cf2_getSubfont(), cf2_glyphpath_curveTo(), cf2_glyphpath_lineTo(), cf2_initLocalRegionBuffer(), cf2_interpT2CharString(), cf2_stack_popFixed(), and cf2_stack_popInt().
#define CF2_FIXED_EPSILON 0x0001 |
Definition at line 55 of file cf2fixed.h.
Referenced by cf2_blues_init().
#define CF2_FIXED_MAX ( (CF2_Fixed)0x7FFFFFFFL ) |
Definition at line 52 of file cf2fixed.h.
Referenced by cf2_blues_init().
#define CF2_FIXED_MIN ( (CF2_Fixed)0x80000000L ) |
Definition at line 53 of file cf2fixed.h.
#define CF2_FIXED_ONE 0x10000L |
Definition at line 54 of file cf2fixed.h.
Definition at line 68 of file cf2fixed.h.
Referenced by cf2_blues_init(), and cf2_glyphpath_init().
Definition at line 70 of file cf2fixed.h.
#define cf2_fixedFraction | ( | x | ) | ( (x) - cf2_fixedFloor( x ) ) |
Definition at line 72 of file cf2fixed.h.
Definition at line 64 of file cf2fixed.h.
Referenced by cf2_blues_capture(), and cf2_blues_init().
Definition at line 62 of file cf2fixed.h.
Definition at line 66 of file cf2fixed.h.
Referenced by cf2_blues_init(), and cf2_glyphpath_init().
#define cf2_fracToFixed | ( | x | ) |
Definition at line 74 of file cf2fixed.h.
Referenced by cf2_stack_getReal(), and cf2_stack_popFixed().
Definition at line 60 of file cf2fixed.h.
Referenced by cf2_blues_capture(), cf2_blues_init(), cf2_getBlueMetrics(), cf2_getDefaultWidthX(), cf2_getNominalWidthX(), cf2_getPpemY(), cf2_getStdHW(), cf2_getStdVW(), cf2_stack_getReal(), and cf2_stack_popFixed().
Definition at line 49 of file cf2fixed.h.
typedef enum CF2_NumberType_ CF2_NumberType |
enum CF2_NumberType_ |
Enumerator | |
---|---|
CF2_NumberFixed | |
CF2_NumberFrac | |
CF2_NumberInt |
Definition at line 80 of file cf2fixed.h.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.