Searched refs:float2fixed_rounded (Results 1 – 4 of 4) sorted by relevance
108 #define float2fixed_rounded(f) ((fixed)floor((f)*(float)fixed_scale + 0.5)) macro
140 ppt->x = float2fixed_rounded(x); in clamp_point_aux()141 ppt->y = float2fixed_rounded(y); in clamp_point_aux()
462 ppt->x = float2fixed_rounded(fpt.x); in gs_point_transform2fixed_rounding()463 ppt->y = float2fixed_rounded(fpt.y); in gs_point_transform2fixed_rounding()
272 gx_translate_to_fixed(saved, float2fixed_rounded(mat.tx - bbox.p.x), in gs_pattern1_make_pattern()273 float2fixed_rounded(mat.ty - bbox.p.y)); in gs_pattern1_make_pattern()