ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | FIX2LONG(x) (((x) + 8) >> 4) |
#define | LONG2FIX(x) ((x) << 4) |
#define | FLOATOBJ_bConvertToLong(pf, pl) (*pl = (LONG)*pf, TRUE) |
#define | FLOATOBJ_IsLong(pf) ((FLOAT)((LONG)*(pf)) == *(pf)) |
#define | FLOATOBJ_Equal0(pf) (*(pf) == 0.) |
#define | FLOATOBJ_Equal1(pf) (*(pf) == 1.) |
#define | FLOATOBJ_GetFix(pf) ((LONG)(*(pf) * 16.)) |
#define | FLOATOBJ_0 0. |
#define | FLOATOBJ_1 1. |
#define | FLOATOBJ_16 16. |
#define | FLOATOBJ_1_16 (1./16.) |
#define | FLOATOBJ_Set0(fo) *(fo) = 0; |
#define | FLOATOBJ_Set1(fo) *(fo) = 1; |
Functions | |
C_ASSERT (sizeof(FIX)==sizeof(LONG)) | |
Variables | |
static const FLOATOBJ | gef0 = 0. |
static const FLOATOBJ | gef1 = 1. |
static const FLOATOBJ | gef2 = 2. |
static const FLOATOBJ | gef16 = 16. |
Definition at line 4 of file floatobj.h.
#define FLOATOBJ_0 0. |
Definition at line 108 of file floatobj.h.
#define FLOATOBJ_1 1. |
Definition at line 109 of file floatobj.h.
#define FLOATOBJ_16 16. |
Definition at line 110 of file floatobj.h.
#define FLOATOBJ_1_16 (1./16.) |
Definition at line 111 of file floatobj.h.
Definition at line 102 of file floatobj.h.
#define FLOATOBJ_Equal0 | ( | pf | ) | (*(pf) == 0.) |
Definition at line 104 of file floatobj.h.
#define FLOATOBJ_Equal1 | ( | pf | ) | (*(pf) == 1.) |
Definition at line 105 of file floatobj.h.
Definition at line 106 of file floatobj.h.
Definition at line 103 of file floatobj.h.
#define FLOATOBJ_Set0 | ( | fo | ) | *(fo) = 0; |
Definition at line 118 of file floatobj.h.
#define FLOATOBJ_Set1 | ( | fo | ) | *(fo) = 1; |
Definition at line 119 of file floatobj.h.
Definition at line 5 of file floatobj.h.
Definition at line 113 of file floatobj.h.
Referenced by DC_vInitDc().
Definition at line 114 of file floatobj.h.
Referenced by PATH_NormalizePoint(), PATH_ScaleNormalizedPoint(), and ScaleLong().
Definition at line 116 of file floatobj.h.
Referenced by DC_vInitDc().
Definition at line 115 of file floatobj.h.
Referenced by PATH_ScaleNormalizedPoint().