Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_display_driver_simple_line_alpha_draw.c85 INT curx; 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()
153 curx++, decision += dy) in _gx_display_driver_simple_line_alpha_draw()
161 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_simple_line_alpha_draw()
168 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw()
169 curx++, decision += dy) 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()
242 curx += x_sign; in _gx_display_driver_simple_line_alpha_draw()
245 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_simple_line_alpha_draw()
[all …]
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c101 INT curx = 0; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
199 curx = point.gx_point_x; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
204 curx -= x_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
218 for (curx = point.gx_point_x; curx <= point2.gx_point_x; curx++, decision += dy) 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()
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()
253 curx += x_sign; 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_rotated_arc_fill.c102 INT curx; in _gx_display_driver_generic_rotated_arc_fill() local
235 curx = 0; in _gx_display_driver_generic_rotated_arc_fill()
239 while (curx <= cury) in _gx_display_driver_generic_rotated_arc_fill()
243 point.gx_point_x = (GX_VALUE)(curx * sign[Index][0] + xcenter); in _gx_display_driver_generic_rotated_arc_fill()
268 point.gx_point_y = (GX_VALUE)(curx * sign[Index][1] + ycenter); in _gx_display_driver_generic_rotated_arc_fill()
294 decision += 8 * curx + 12; in _gx_display_driver_generic_rotated_arc_fill()
298 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_arc_fill()
301 curx++; in _gx_display_driver_generic_rotated_arc_fill()
321 for (curx = xstart; curx <= xend; curx++) in _gx_display_driver_generic_rotated_arc_fill()
323 if ((curx >= xmin) && in _gx_display_driver_generic_rotated_arc_fill()
[all …]
Dgx_display_driver_generic_aliased_line_draw.c93 INT curx; 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()
203 decision = 0; curx <= nextx; curx++, nextx--, 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()
222 if (curx != nextx) 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()
239 curx += x_sign; 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()
[all …]
Dgx_display_driver_generic_rotated_circle_fill.c85 INT curx; in _gx_display_driver_generic_rotated_circle_fill() local
161 curx = 0; in _gx_display_driver_generic_rotated_circle_fill()
167 while (curx <= cury) in _gx_display_driver_generic_rotated_circle_fill()
174 x1 = curx * sign[loop][0]; in _gx_display_driver_generic_rotated_circle_fill()
181 y1 = curx * sign[loop][1]; in _gx_display_driver_generic_rotated_circle_fill()
212 curx++; in _gx_display_driver_generic_rotated_circle_fill()
213 yi = (INT)(r * r) - curx * curx; in _gx_display_driver_generic_rotated_circle_fill()
260 for (curx = xmin; curx <= xmax; curx++) in _gx_display_driver_generic_rotated_circle_fill()
278 for (curx = xmin; curx <= xmax; curx++) in _gx_display_driver_generic_rotated_circle_fill()
282 …ay_driver_vertical_line_draw(context, pLineEnds[Index], pLineEnds[Index + 1], curx, 1, fill_color); in _gx_display_driver_generic_rotated_circle_fill()
Dgx_display_driver_32bpp_simple_line_draw.c78 INT curx; 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()
171 curx++, decision += dy) in _gx_display_driver_32bpp_simple_line_draw()
180 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_32bpp_simple_line_draw()
188 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw()
189 curx++, decision += dy) 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()
271 curx += x_sign; in _gx_display_driver_32bpp_simple_line_draw()
275 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_32bpp_simple_line_draw()
276 curx <= clip -> gx_rectangle_right && in _gx_display_driver_32bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c85 INT curx; 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()
184 curx++, decision += dy) in _gx_display_driver_8bpp_simple_line_draw()
193 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_8bpp_simple_line_draw()
201 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw()
202 curx++, decision += dy) 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()
284 curx += x_sign; in _gx_display_driver_8bpp_simple_line_draw()
288 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_8bpp_simple_line_draw()
289 curx <= clip -> gx_rectangle_right && in _gx_display_driver_8bpp_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c82 INT curx; 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()
175 curx++, decision += dy) in _gx_display_driver_16bpp_simple_line_draw()
184 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_16bpp_simple_line_draw()
192 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw()
193 curx++, decision += dy) 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()
275 curx += x_sign; in _gx_display_driver_16bpp_simple_line_draw()
279 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_16bpp_simple_line_draw()
280 curx <= clip -> gx_rectangle_right && in _gx_display_driver_16bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_rotated_pie_fill.c111 INT curx; in _gx_display_driver_generic_rotated_simple_pie_fill() local
214 curx = 0; in _gx_display_driver_generic_rotated_simple_pie_fill()
218 while (curx <= cury) in _gx_display_driver_generic_rotated_simple_pie_fill()
222 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
244 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_rotated_simple_pie_fill()
267 decision += 8 * curx + 12; in _gx_display_driver_generic_rotated_simple_pie_fill()
271 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_simple_pie_fill()
274 curx++; in _gx_display_driver_generic_rotated_simple_pie_fill()
311 for (curx = xstart; curx <= xend; curx++) in _gx_display_driver_generic_rotated_simple_pie_fill()
313 if ((curx >= xmin) && (curx <= xmax)) in _gx_display_driver_generic_rotated_simple_pie_fill()
[all …]
Dgx_display_driver_1bpp_simple_line_draw.c86 INT curx; 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()
172 curx++, decision += dy) in _gx_display_driver_1bpp_simple_line_draw()
182 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_1bpp_simple_line_draw()
190 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw()
191 curx++, decision += dy) 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()
303 curx += x_sign; in _gx_display_driver_1bpp_simple_line_draw()
307 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_1bpp_simple_line_draw()
308 curx <= clip -> gx_rectangle_right && in _gx_display_driver_1bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c80 INT curx; 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()
187 curx++, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
196 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_8bpp_rotated_simple_line_draw()
204 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw()
205 curx++, decision += dy) 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()
287 curx += x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
291 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_8bpp_rotated_simple_line_draw()
292 curx <= rotated_clip.gx_rectangle_right && in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c93 INT curx; in _gx_display_driver_generic_rotated_wide_line_fill() local
241 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_rotated_wide_line_fill()
249 if ((curx >= xmin) && (curx <= xmax)) in _gx_display_driver_generic_rotated_wide_line_fill()
251 Index = (curx - xmin) << 1; in _gx_display_driver_generic_rotated_wide_line_fill()
270 curx = GX_FIXED_VAL_RND_UP(xstart); in _gx_display_driver_generic_rotated_wide_line_fill()
279 curx = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_rotated_wide_line_fill()
287 curx -= xsign; in _gx_display_driver_generic_rotated_wide_line_fill()
325 curx += xsign; in _gx_display_driver_generic_rotated_wide_line_fill()
334 curx += xsign; in _gx_display_driver_generic_rotated_wide_line_fill()
337 test = curx + shift; in _gx_display_driver_generic_rotated_wide_line_fill()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c76 INT curx; 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()
199 curx++, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
208 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_32bpp_rotated_simple_line_draw()
216 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw()
217 curx++, decision += dy) 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()
299 curx += x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
303 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_32bpp_rotated_simple_line_draw()
304 curx <= rotated_clip.gx_rectangle_right && in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c79 INT curx; 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()
205 curx++, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
214 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_16bpp_rotated_simple_line_draw()
222 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw()
223 curx++, decision += dy) 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()
305 curx += x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
309 if (curx >= rotated_clip.gx_rectangle_left && in _gx_display_driver_16bpp_rotated_simple_line_draw()
310 curx <= rotated_clip.gx_rectangle_right && in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_4bpp_simple_line_draw.c86 INT curx; 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()
171 curx++, decision += dy) in _gx_display_driver_4bpp_simple_line_draw()
181 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_4bpp_simple_line_draw()
189 for (; curx <= mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw()
190 curx++, decision += dy) 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()
308 curx += x_sign; in _gx_display_driver_4bpp_simple_line_draw()
312 if (curx >= clip -> gx_rectangle_left && in _gx_display_driver_4bpp_simple_line_draw()
313 curx <= clip -> gx_rectangle_right && in _gx_display_driver_4bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_simple_pie_fill.c110 INT curx; in _gx_display_driver_generic_simple_pie_fill() local
232 curx = 0; in _gx_display_driver_generic_simple_pie_fill()
236 while (curx <= cury) in _gx_display_driver_generic_simple_pie_fill()
240 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_pie_fill()
262 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_pie_fill()
285 decision += 8 * curx + 12; in _gx_display_driver_generic_simple_pie_fill()
289 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_pie_fill()
292 curx++; in _gx_display_driver_generic_simple_pie_fill()
385 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_simple_pie_fill()
386 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_pie_fill()
[all …]
Dgx_display_driver_generic_arc_fill.c105 INT curx; in _gx_display_driver_generic_arc_fill() local
266 curx = 0; in _gx_display_driver_generic_arc_fill()
270 while (curx <= cury) in _gx_display_driver_generic_arc_fill()
274 point.gx_point_x = (GX_VALUE)(curx * sign[Index][0] + xcenter); in _gx_display_driver_generic_arc_fill()
299 point.gx_point_y = (GX_VALUE)(curx * sign[Index][1] + ycenter); in _gx_display_driver_generic_arc_fill()
325 decision += 8 * curx + 12; in _gx_display_driver_generic_arc_fill()
329 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_arc_fill()
332 curx++; in _gx_display_driver_generic_arc_fill()
386 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_arc_fill()
387 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_arc_fill()
[all …]
Dgx_display_driver_generic_wide_line_fill.c95 INT curx; in _gx_display_driver_generic_wide_line_fill() local
243 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_wide_line_fill()
257 if (curx < pLineEnds[Index]) in _gx_display_driver_generic_wide_line_fill()
259 pLineEnds[Index] = curx; in _gx_display_driver_generic_wide_line_fill()
262 if (curx > pLineEnds[Index + 1]) in _gx_display_driver_generic_wide_line_fill()
264 pLineEnds[Index + 1] = curx; in _gx_display_driver_generic_wide_line_fill()
274 curx = GX_FIXED_VAL_RND_UP(xstart); in _gx_display_driver_generic_wide_line_fill()
283 curx = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_wide_line_fill()
291 curx -= xsign; in _gx_display_driver_generic_wide_line_fill()
329 curx += xsign; in _gx_display_driver_generic_wide_line_fill()
[all …]
Dgx_display_driver_generic_wide_arc_draw.c102 INT curx; in _gx_display_driver_generic_simple_wide_arc_draw() local
220 curx = 0; in _gx_display_driver_generic_simple_wide_arc_draw()
224 while (curx <= cury) in _gx_display_driver_generic_simple_wide_arc_draw()
228 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_wide_arc_draw()
250 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_wide_arc_draw()
273 decision += 8 * curx + 12; in _gx_display_driver_generic_simple_wide_arc_draw()
277 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_wide_arc_draw()
280 curx++; in _gx_display_driver_generic_simple_wide_arc_draw()
356 for (curx = xstart, cury = ystart, nextx = xend, nexty = yend, in _gx_display_driver_generic_simple_wide_arc_draw()
357 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_wide_arc_draw()
[all …]
Dgx_display_driver_generic_circle_fill.c87 INT curx; in _gx_display_driver_generic_circle_fill() local
193 curx = 0; in _gx_display_driver_generic_circle_fill()
199 while (curx <= cury) in _gx_display_driver_generic_circle_fill()
206 x1 = curx * sign[loop][0]; in _gx_display_driver_generic_circle_fill()
213 y1 = curx * sign[loop][1]; in _gx_display_driver_generic_circle_fill()
244 curx++; in _gx_display_driver_generic_circle_fill()
245 yi = (INT)(r * r) - curx * curx; in _gx_display_driver_generic_circle_fill()
Dgx_display_driver_generic_aliased_wide_arc_draw.c107 INT curx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local
244 curx = 0; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
248 while (curx < cury) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
255 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
276 point.gx_point_y = (GX_VALUE)(curx * sign[loop][1] + ycenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
363 curx++; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
364 nexty = (INT)(r * r) - curx * curx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
374 point.gx_point_x = (GX_VALUE)(curx * sign[loop][0] + xcenter); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
388 pLineEnds[Index] = curx * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
392 pLineEnds[Index + 1] = (curx - 1) * sign[loop][0] + xcenter; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
[all …]