Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c98 GX_FIXED_VAL y_fraction; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
143 y_fraction = (ystart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
155 if (y_fraction) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
157 y_fraction = GX_FIXED_VAL_ONE - y_fraction; 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()
197 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
259 if ((cury == point.gx_point_y || cury == point2.gx_point_y) && y_fraction) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
261 fore_alpha = fore_alpha * (GX_FIXED_VAL_ONE - y_fraction) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
262 back_alpha = back_alpha * (GX_FIXED_VAL_ONE - y_fraction) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
263 y_fraction = GX_FIXED_VAL_ONE - (yend & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c110 INT y_fraction; in _gx_display_driver_generic_rotated_wide_line_fill() local
175 y_fraction = (ystart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_rotated_wide_line_fill()
185 if (y_fraction) in _gx_display_driver_generic_rotated_wide_line_fill()
187 y_fraction = GX_FIXED_VAL_ONE - y_fraction; 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()
282 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill()
296 if (y_fraction) in _gx_display_driver_generic_rotated_wide_line_fill()
314 if (y_fraction >= GX_FIXED_VAL_HALF) in _gx_display_driver_generic_rotated_wide_line_fill()
Dgx_display_driver_generic_wide_line_fill.c112 INT y_fraction; in _gx_display_driver_generic_wide_line_fill() local
177 y_fraction = (ystart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_wide_line_fill()
187 if (y_fraction) in _gx_display_driver_generic_wide_line_fill()
189 y_fraction = GX_FIXED_VAL_ONE - y_fraction; 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()
286 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill()
300 if (y_fraction) in _gx_display_driver_generic_wide_line_fill()
318 if (y_fraction >= GX_FIXED_VAL_HALF) in _gx_display_driver_generic_wide_line_fill()