Home
last modified time | relevance | path

Searched refs:cury (Results 1 – 21 of 21) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_simple_line_alpha_draw.c86 INT cury; in _gx_display_driver_simple_line_alpha_draw() local
152 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw()
158 cury += y_sign; in _gx_display_driver_simple_line_alpha_draw()
162 cury >= clip -> gx_rectangle_top && in _gx_display_driver_simple_line_alpha_draw()
163 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_simple_line_alpha_draw()
174 cury += y_sign; in _gx_display_driver_simple_line_alpha_draw()
177 blend_func(context, curx, cury, linecolor, alpha); in _gx_display_driver_simple_line_alpha_draw()
236 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_simple_line_alpha_draw()
237 cury++, decision += dx) in _gx_display_driver_simple_line_alpha_draw()
247 cury >= clip -> gx_rectangle_top) in _gx_display_driver_simple_line_alpha_draw()
[all …]
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c102 INT cury = 0; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
168 cury = point.gx_point_y; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
173 cury -= y_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
223 cury += y_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
241 blend_func(context, curx, cury, line_color, (GX_UBYTE)fore_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
242 blend_func(context, curx, cury + y_sign, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
248 for (cury = point.gx_point_y; cury <= point2.gx_point_y; cury++, decision += dx) 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()
270 blend_func(context, curx, cury, line_color, (GX_UBYTE)fore_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
271 blend_func(context, curx + x_sign, cury, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
[all …]
Dgx_display_driver_generic_simple_pie_fill.c111 INT cury; in _gx_display_driver_generic_simple_pie_fill() local
233 cury = (INT)r; in _gx_display_driver_generic_simple_pie_fill()
236 while (curx <= cury) in _gx_display_driver_generic_simple_pie_fill()
241 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_pie_fill()
261 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_pie_fill()
289 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_pie_fill()
290 cury--; in _gx_display_driver_generic_simple_pie_fill()
330 for (cury = ystart; cury <= yend; cury++) in _gx_display_driver_generic_simple_pie_fill()
332 if ((cury >= ymin) && (cury <= ymax)) in _gx_display_driver_generic_simple_pie_fill()
334 Index = (cury - ymin) << 1; in _gx_display_driver_generic_simple_pie_fill()
[all …]
Dgx_display_driver_generic_arc_fill.c106 INT cury; in _gx_display_driver_generic_arc_fill() local
267 cury = (INT)r; in _gx_display_driver_generic_arc_fill()
270 while (curx <= cury) in _gx_display_driver_generic_arc_fill()
275 point.gx_point_y = (GX_VALUE)(cury * sign[Index][1] + ycenter); in _gx_display_driver_generic_arc_fill()
298 point.gx_point_x = (GX_VALUE)(cury * sign[Index][0] + xcenter); in _gx_display_driver_generic_arc_fill()
329 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_arc_fill()
330 cury--; in _gx_display_driver_generic_arc_fill()
353 for (cury = ystart; cury <= yend; cury++) in _gx_display_driver_generic_arc_fill()
355 if ((cury >= ymin) && in _gx_display_driver_generic_arc_fill()
356 (cury <= ymax)) in _gx_display_driver_generic_arc_fill()
[all …]
Dgx_display_driver_generic_aliased_line_draw.c94 INT cury; in _gx_display_driver_generic_aliased_line_draw() local
202 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_aliased_line_draw()
209 cury += y_sign; in _gx_display_driver_generic_aliased_line_draw()
220 blend_func(context, curx, cury, line_color, (GX_UBYTE)fore_alpha); in _gx_display_driver_generic_aliased_line_draw()
221 blend_func(context, curx, cury + y_sign, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_line_draw()
232 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_aliased_line_draw()
233 decision = 0; cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_aliased_line_draw()
250 blend_func(context, curx, cury, line_color, (GX_UBYTE)fore_alpha); in _gx_display_driver_generic_aliased_line_draw()
251 blend_func(context, curx + x_sign, cury, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_line_draw()
252 if (cury != nexty) in _gx_display_driver_generic_aliased_line_draw()
[all …]
Dgx_display_driver_generic_circle_fill.c88 INT cury; in _gx_display_driver_generic_circle_fill() local
194 cury = (INT)r; in _gx_display_driver_generic_circle_fill()
199 while (curx <= cury) in _gx_display_driver_generic_circle_fill()
207 y1 = (cury - 1) * sign[loop][1]; in _gx_display_driver_generic_circle_fill()
212 x1 = (cury - 1) * sign[loop][0]; in _gx_display_driver_generic_circle_fill()
246 error = (cury << 8) - (INT)(_gx_utility_math_sqrt((UINT)(yi << 10)) << 3); in _gx_display_driver_generic_circle_fill()
251 cury--; in _gx_display_driver_generic_circle_fill()
271 for (cury = ymin; cury <= ymax; cury++) in _gx_display_driver_generic_circle_fill()
276 …driver_horizontal_pixelmap_line_draw(context, pLineEnds[Index], pLineEnds[Index + 1], cury, &info); in _gx_display_driver_generic_circle_fill()
285 for (cury = ymin; cury <= ymax; cury++) in _gx_display_driver_generic_circle_fill()
[all …]
Dgx_display_driver_32bpp_simple_line_draw.c79 INT cury; in _gx_display_driver_32bpp_simple_line_draw() local
170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw()
176 cury += y_sign; in _gx_display_driver_32bpp_simple_line_draw()
181 cury >= clip -> gx_rectangle_top && in _gx_display_driver_32bpp_simple_line_draw()
182 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_32bpp_simple_line_draw()
194 cury += y_sign; in _gx_display_driver_32bpp_simple_line_draw()
265 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_32bpp_simple_line_draw()
266 cury++, decision += dx) in _gx_display_driver_32bpp_simple_line_draw()
277 cury >= clip -> gx_rectangle_top) in _gx_display_driver_32bpp_simple_line_draw()
283 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_32bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c86 INT cury; in _gx_display_driver_8bpp_simple_line_draw() local
183 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw()
189 cury += y_sign; in _gx_display_driver_8bpp_simple_line_draw()
194 cury >= clip -> gx_rectangle_top && in _gx_display_driver_8bpp_simple_line_draw()
195 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_8bpp_simple_line_draw()
207 cury += y_sign; in _gx_display_driver_8bpp_simple_line_draw()
278 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_8bpp_simple_line_draw()
279 cury++, decision += dx) in _gx_display_driver_8bpp_simple_line_draw()
290 cury >= clip -> gx_rectangle_top) in _gx_display_driver_8bpp_simple_line_draw()
296 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_8bpp_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c83 INT cury; in _gx_display_driver_16bpp_simple_line_draw() local
174 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw()
180 cury += y_sign; in _gx_display_driver_16bpp_simple_line_draw()
185 cury >= clip -> gx_rectangle_top && in _gx_display_driver_16bpp_simple_line_draw()
186 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_16bpp_simple_line_draw()
198 cury += y_sign; in _gx_display_driver_16bpp_simple_line_draw()
269 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_16bpp_simple_line_draw()
270 cury++, decision += dx) in _gx_display_driver_16bpp_simple_line_draw()
281 cury >= clip -> gx_rectangle_top) in _gx_display_driver_16bpp_simple_line_draw()
287 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_16bpp_simple_line_draw()
[all …]
Dgx_display_driver_1bpp_simple_line_draw.c87 INT cury; in _gx_display_driver_1bpp_simple_line_draw() local
171 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw()
177 cury += y_sign; in _gx_display_driver_1bpp_simple_line_draw()
183 cury >= clip -> gx_rectangle_top && in _gx_display_driver_1bpp_simple_line_draw()
184 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_1bpp_simple_line_draw()
196 cury += y_sign; in _gx_display_driver_1bpp_simple_line_draw()
297 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_1bpp_simple_line_draw()
298 cury++, decision += dx) in _gx_display_driver_1bpp_simple_line_draw()
309 cury >= clip -> gx_rectangle_top) in _gx_display_driver_1bpp_simple_line_draw()
315 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_1bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c81 INT cury; in _gx_display_driver_8bpp_rotated_simple_line_draw() local
186 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw()
192 cury += y_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
197 cury >= rotated_clip.gx_rectangle_top && in _gx_display_driver_8bpp_rotated_simple_line_draw()
198 cury <= rotated_clip.gx_rectangle_bottom) in _gx_display_driver_8bpp_rotated_simple_line_draw()
210 cury += y_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
281 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_8bpp_rotated_simple_line_draw()
282 cury++, decision += dx) in _gx_display_driver_8bpp_rotated_simple_line_draw()
293 cury >= rotated_clip.gx_rectangle_top) in _gx_display_driver_8bpp_rotated_simple_line_draw()
299 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_generic_wide_line_fill.c96 INT cury; in _gx_display_driver_generic_wide_line_fill() local
185 cury = GX_FIXED_VAL_RND_UP(ystart); in _gx_display_driver_generic_wide_line_fill()
194 cury = GX_FIXED_VAL_TO_INT(ystart); in _gx_display_driver_generic_wide_line_fill()
202 cury -= ysign; in _gx_display_driver_generic_wide_line_fill()
239 cury += ysign; in _gx_display_driver_generic_wide_line_fill()
248 cury += ysign; in _gx_display_driver_generic_wide_line_fill()
251 test = cury + shift; in _gx_display_driver_generic_wide_line_fill()
333 for (cury = ystart; cury <= yend; cury++, decision += dx) in _gx_display_driver_generic_wide_line_fill()
341 if ((cury >= ymin) && (cury <= ymax)) in _gx_display_driver_generic_wide_line_fill()
343 Index = (cury - ymin) << 1; in _gx_display_driver_generic_wide_line_fill()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c77 INT cury; in _gx_display_driver_32bpp_rotated_simple_line_draw() local
198 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw()
204 cury += y_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
209 cury >= rotated_clip.gx_rectangle_top && in _gx_display_driver_32bpp_rotated_simple_line_draw()
210 cury <= rotated_clip.gx_rectangle_bottom) in _gx_display_driver_32bpp_rotated_simple_line_draw()
222 cury += y_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
293 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_32bpp_rotated_simple_line_draw()
294 cury++, decision += dx) in _gx_display_driver_32bpp_rotated_simple_line_draw()
305 cury >= rotated_clip.gx_rectangle_top) in _gx_display_driver_32bpp_rotated_simple_line_draw()
311 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c80 INT cury; in _gx_display_driver_16bpp_rotated_simple_line_draw() local
204 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw()
210 cury += y_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
215 cury >= rotated_clip.gx_rectangle_top && in _gx_display_driver_16bpp_rotated_simple_line_draw()
216 cury <= rotated_clip.gx_rectangle_bottom) in _gx_display_driver_16bpp_rotated_simple_line_draw()
228 cury += y_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
299 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_16bpp_rotated_simple_line_draw()
300 cury++, decision += dx) in _gx_display_driver_16bpp_rotated_simple_line_draw()
311 cury >= rotated_clip.gx_rectangle_top) in _gx_display_driver_16bpp_rotated_simple_line_draw()
317 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_4bpp_simple_line_draw.c87 INT cury; in _gx_display_driver_4bpp_simple_line_draw() local
170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw()
176 cury += y_sign; in _gx_display_driver_4bpp_simple_line_draw()
182 cury >= clip -> gx_rectangle_top && in _gx_display_driver_4bpp_simple_line_draw()
183 cury <= clip -> gx_rectangle_bottom) in _gx_display_driver_4bpp_simple_line_draw()
195 cury += y_sign; in _gx_display_driver_4bpp_simple_line_draw()
302 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_4bpp_simple_line_draw()
303 cury++, decision += dx) in _gx_display_driver_4bpp_simple_line_draw()
314 cury >= clip -> gx_rectangle_top) in _gx_display_driver_4bpp_simple_line_draw()
320 for (; cury <= mid_point.gx_point_y; in _gx_display_driver_4bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_aliased_wide_arc_draw.c108 INT cury; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local
245 cury = (INT)r; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
248 while (curx < cury) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
256 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
266 point.gx_point_y = (GX_VALUE)((cury - 1) * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
275 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
297 pLineEnds[Index] = cury * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
301 pLineEnds[Index + 1] = (cury - 1) * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
308 pLineEnds[Index + 1] = cury * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
312 pLineEnds[Index] = (cury - 1) * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c94 INT cury; in _gx_display_driver_generic_rotated_wide_line_fill() local
183 cury = GX_FIXED_VAL_RND_UP(ystart); in _gx_display_driver_generic_rotated_wide_line_fill()
192 cury = GX_FIXED_VAL_TO_INT(ystart); in _gx_display_driver_generic_rotated_wide_line_fill()
200 cury -= ysign; in _gx_display_driver_generic_rotated_wide_line_fill()
237 cury += ysign; in _gx_display_driver_generic_rotated_wide_line_fill()
246 cury += ysign; in _gx_display_driver_generic_rotated_wide_line_fill()
253 test = cury + shift; in _gx_display_driver_generic_rotated_wide_line_fill()
329 for (cury = ystart; cury <= yend; cury++, decision += dx) in _gx_display_driver_generic_rotated_wide_line_fill()
343 if (cury < pLineEnds[Index]) in _gx_display_driver_generic_rotated_wide_line_fill()
345 pLineEnds[Index] = cury; in _gx_display_driver_generic_rotated_wide_line_fill()
[all …]
Dgx_display_driver_generic_wide_arc_draw.c103 INT cury; in _gx_display_driver_generic_simple_wide_arc_draw() local
221 cury = (INT)r; in _gx_display_driver_generic_simple_wide_arc_draw()
224 while (curx <= cury) in _gx_display_driver_generic_simple_wide_arc_draw()
229 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_wide_arc_draw()
249 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_wide_arc_draw()
277 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_wide_arc_draw()
278 cury--; in _gx_display_driver_generic_simple_wide_arc_draw()
323 for (cury = ystart; cury <= yend; cury++) in _gx_display_driver_generic_simple_wide_arc_draw()
325 if ((cury >= ymin) && (cury <= ymax)) in _gx_display_driver_generic_simple_wide_arc_draw()
327 Index = (cury - ymin) << 1; in _gx_display_driver_generic_simple_wide_arc_draw()
[all …]
Dgx_display_driver_generic_rotated_arc_fill.c103 INT cury; in _gx_display_driver_generic_rotated_arc_fill() local
236 cury = (INT)r; in _gx_display_driver_generic_rotated_arc_fill()
239 while (curx <= cury) in _gx_display_driver_generic_rotated_arc_fill()
244 point.gx_point_y = (GX_VALUE)(cury * sign[Index][1] + ycenter); in _gx_display_driver_generic_rotated_arc_fill()
267 point.gx_point_x = (GX_VALUE)(cury * sign[Index][0] + xcenter); in _gx_display_driver_generic_rotated_arc_fill()
298 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_arc_fill()
299 cury--; in _gx_display_driver_generic_rotated_arc_fill()
354 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_rotated_arc_fill()
361 cury += ysign; in _gx_display_driver_generic_rotated_arc_fill()
369 if (cury < pLineEnds[Index]) in _gx_display_driver_generic_rotated_arc_fill()
[all …]
Dgx_display_driver_generic_rotated_pie_fill.c112 INT cury; in _gx_display_driver_generic_rotated_simple_pie_fill() local
215 cury = (INT)r; in _gx_display_driver_generic_rotated_simple_pie_fill()
218 while (curx <= cury) in _gx_display_driver_generic_rotated_simple_pie_fill()
223 point.gx_point_y = (GX_VALUE)(cury * sign[loop][1] + ycenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
243 point.gx_point_x = (GX_VALUE)(cury * sign[loop][0] + xcenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
271 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_simple_pie_fill()
272 cury--; in _gx_display_driver_generic_rotated_simple_pie_fill()
343 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_rotated_simple_pie_fill()
350 cury += ysign; in _gx_display_driver_generic_rotated_simple_pie_fill()
358 if (cury < pLineEnds[Index]) in _gx_display_driver_generic_rotated_simple_pie_fill()
[all …]
Dgx_display_driver_generic_rotated_circle_fill.c86 INT cury; in _gx_display_driver_generic_rotated_circle_fill() local
162 cury = (INT)r; in _gx_display_driver_generic_rotated_circle_fill()
167 while (curx <= cury) in _gx_display_driver_generic_rotated_circle_fill()
175 y1 = (cury - 1) * sign[loop][1]; in _gx_display_driver_generic_rotated_circle_fill()
180 x1 = (cury - 1) * sign[loop][0]; in _gx_display_driver_generic_rotated_circle_fill()
214 error = (cury << 8) - (INT)(_gx_utility_math_sqrt((UINT)(yi << 10)) << 3); in _gx_display_driver_generic_rotated_circle_fill()
219 cury--; in _gx_display_driver_generic_rotated_circle_fill()