Lines Matching refs:angle
75 static UINT _gx_canvas_rotated_pixelmap_bound_calculate(GX_RECTANGLE *rect, INT angle, INT rot_cx,… in _gx_canvas_rotated_pixelmap_bound_calculate() argument
93 angle %= 360; in _gx_canvas_rotated_pixelmap_bound_calculate()
95 if (angle < 0) in _gx_canvas_rotated_pixelmap_bound_calculate()
97 angle += 360; in _gx_canvas_rotated_pixelmap_bound_calculate()
104 if (angle == 0) in _gx_canvas_rotated_pixelmap_bound_calculate()
108 if (angle == 90) in _gx_canvas_rotated_pixelmap_bound_calculate()
115 else if (angle == 180) in _gx_canvas_rotated_pixelmap_bound_calculate()
120 else if (angle == 270) in _gx_canvas_rotated_pixelmap_bound_calculate()
128 idxminx = (angle / 90) & 0x3; in _gx_canvas_rotated_pixelmap_bound_calculate()
136 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_canvas_rotated_pixelmap_bound_calculate()
137 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_canvas_rotated_pixelmap_bound_calculate()
225 INT angle, INT rot_cx, INT rot_cy) in _gx_canvas_pixelmap_rotate() argument
266 _gx_canvas_rotated_pixelmap_bound_calculate(&bound, angle, cx, cy); in _gx_canvas_pixelmap_rotate()
276 angle = angle % 360; in _gx_canvas_pixelmap_rotate()
278 if (angle < 0) in _gx_canvas_pixelmap_rotate()
280 angle += 360; in _gx_canvas_pixelmap_rotate()
283 if (angle == 0) in _gx_canvas_pixelmap_rotate()
323 if (angle == 0) in _gx_canvas_pixelmap_rotate()
330 pmp_function(context, x_position, y_position, pixelmap, angle, cx, cy); in _gx_canvas_pixelmap_rotate()