Home
last modified time | relevance | path

Searched refs:x_fraction (Results 1 – 3 of 3) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c97 GX_FIXED_VAL x_fraction; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
142 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
166 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
186 if (x_fraction) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
188 x_fraction = GX_FIXED_VAL_FRACTION_MASK - x_fraction; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
197 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
230 if ((curx == point.gx_point_x || curx == point2.gx_point_x) && x_fraction) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
232 fore_alpha = fore_alpha * (GX_FIXED_VAL_ONE - x_fraction) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
233 back_alpha = back_alpha * (GX_FIXED_VAL_ONE - x_fraction) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
234 x_fraction = GX_FIXED_VAL_ONE - (xend & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c109 INT x_fraction; in _gx_display_driver_generic_rotated_wide_line_fill() local
174 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_rotated_wide_line_fill()
195 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill()
209 if (x_fraction) in _gx_display_driver_generic_rotated_wide_line_fill()
227 if (x_fraction >= GX_FIXED_VAL_HALF) in _gx_display_driver_generic_rotated_wide_line_fill()
272 if (x_fraction) in _gx_display_driver_generic_rotated_wide_line_fill()
274 x_fraction = GX_FIXED_VAL_FRACTION_MASK - x_fraction; in _gx_display_driver_generic_rotated_wide_line_fill()
282 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill()
Dgx_display_driver_generic_wide_line_fill.c111 INT x_fraction; in _gx_display_driver_generic_wide_line_fill() local
176 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_wide_line_fill()
197 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill()
211 if (x_fraction) in _gx_display_driver_generic_wide_line_fill()
229 if (x_fraction >= GX_FIXED_VAL_HALF) in _gx_display_driver_generic_wide_line_fill()
276 if (x_fraction) in _gx_display_driver_generic_wide_line_fill()
278 x_fraction = GX_FIXED_VAL_FRACTION_MASK - x_fraction; in _gx_display_driver_generic_wide_line_fill()
286 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill()