Home
last modified time | relevance | path

Searched refs:fract (Results 1 – 10 of 10) sorted by relevance

/reactos/dll/win32/oleaut32/
H A Dvartype.c79 double fract = value - whole; \
80 if (fract > 0.5) res = (typ)whole + (typ)1; \
82 else if (fract >= 0.0) res = (typ)whole; \
84 else if (fract > -0.5) res = (typ)whole; \
3370 double scale, whole, fract; in VarR8Round() local
3379 fract = dblIn - whole; in VarR8Round()
3381 if (fract > 0.5) in VarR8Round()
3383 else if (fract == 0.5) in VarR8Round()
3385 else if (fract >= 0.0) in VarR8Round()
3387 else if (fract == -0.5) in VarR8Round()
[all …]
/reactos/dll/opengl/opengl32/
H A Dwgl_font.c196 vertex[0] = (fixed.x.value + (GLdouble)fixed.x.fract / (1 << 16)) / em_size; in fixed_to_double()
197 vertex[1] = (fixed.y.value + (GLdouble)fixed.y.fract / (1 << 16)) / em_size; in fixed_to_double()
/reactos/win32ss/gdi/ntgdi/
H A Dfreetype.c730 pt->x.fract = (vec->x & 0x3f) << 10; in FTVectorToPOINTFX()
731 pt->x.fract |= ((pt->x.fract >> 6) | (pt->x.fract >> 12)); in FTVectorToPOINTFX()
733 pt->y.fract = (vec->y & 0x3f) << 10; in FTVectorToPOINTFX()
734 pt->y.fract |= ((pt->y.fract >> 6) | (pt->y.fract >> 12)); in FTVectorToPOINTFX()
743 return (FT_Fixed)((long)f.value << 16 | (unsigned long)f.fract); in FT_FixedFromFIXED()
H A Dpath.c2203 return (f.fract >= 0x8000) ? (f.value + 1) : f.value; in int_from_fixed()
/reactos/sdk/include/psdk/
H A Dmfobjects.idl207 WORD fract;
H A Dwingdi.h2469 WORD fract; member
/reactos/dll/win32/gdiplus/
H A Dgraphicspath.c899 float f = ((float)v.fract) / (1<<(sizeof(v.fract)*8)); in fromfixedpoint()
/reactos/modules/rostests/winetests/gdi32/
H A Dgenerated.c2977 TEST_FIELD_SIZE (FIXED, fract, 2) in test_pack_FIXED()
2978 TEST_FIELD_ALIGN (FIXED, fract, 2) in test_pack_FIXED()
2979 TEST_FIELD_OFFSET(FIXED, fract, 0) in test_pack_FIXED()
9500 TEST_FIELD_SIZE (FIXED, fract, 2) in test_pack_FIXED()
9501 TEST_FIELD_ALIGN (FIXED, fract, 2) in test_pack_FIXED()
9502 TEST_FIELD_OFFSET(FIXED, fract, 0) in test_pack_FIXED()
/reactos/dll/directx/wine/d3dx9_36/
H A Dmesh.c5471 pt_flt->x = (pt->x.value + pt->x.fract / (float)0x10000) / emsquare; in convert_fixed_to_float()
5472 pt_flt->y = (pt->y.value + pt->y.fract / (float)0x10000) / emsquare; in convert_fixed_to_float()
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dmesh.c3579 pt_flt->x = (pt->x.value + pt->x.fract / (float)0x10000) / emsquare; in convert_fixed_to_float()
3580 pt_flt->y = (pt->y.value + pt->y.fract / (float)0x10000) / emsquare; in convert_fixed_to_float()