Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 29) sorted by relevance

12

/GUIX-v6.2.1/common/src/
Dgx_display_driver_simple_line_alpha_draw.c98 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_simple_line_alpha_draw() local
112 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_simple_line_alpha_draw()
117 x_sign = (xend - xstart) / dx; in _gx_display_driver_simple_line_alpha_draw()
148 if (dx >= dy) in _gx_display_driver_simple_line_alpha_draw()
151 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw()
154 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw()
156 decision -= dx; in _gx_display_driver_simple_line_alpha_draw()
170 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw()
172 decision -= dx; in _gx_display_driver_simple_line_alpha_draw()
178 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c103 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_simple_line_draw() local
130 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_simple_line_draw()
135 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_simple_line_draw()
179 if (dx >= dy) in _gx_display_driver_8bpp_simple_line_draw()
182 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw()
185 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw()
187 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw()
203 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw()
205 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw()
212 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw()
[all …]
Dgx_display_driver_32bpp_simple_line_draw.c96 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_simple_line_draw() local
117 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_simple_line_draw()
122 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_simple_line_draw()
166 if (dx >= dy) in _gx_display_driver_32bpp_simple_line_draw()
169 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw()
172 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw()
174 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw()
190 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw()
192 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw()
199 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c104 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_simple_line_draw() local
126 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_simple_line_draw()
131 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_simple_line_draw()
178 if (dx >= dy) in _gx_display_driver_16bpp_simple_line_draw()
181 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw()
184 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw()
186 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw()
202 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw()
204 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw()
211 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c98 INT dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() local
130 dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_rotated_simple_line_draw()
133 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_rotated_simple_line_draw()
138 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_rotated_simple_line_draw()
182 if (dx >= dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
185 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw()
188 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw()
190 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw()
206 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw()
208 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_1bpp_simple_line_draw.c109 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_1bpp_simple_line_draw() local
116 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_1bpp_simple_line_draw()
121 x_sign = (xend - xstart) / dx; in _gx_display_driver_1bpp_simple_line_draw()
167 if (dx >= dy) in _gx_display_driver_1bpp_simple_line_draw()
170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw()
173 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw()
175 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw()
192 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw()
194 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw()
211 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c92 INT dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() local
140 dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_rotated_simple_line_draw()
143 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_rotated_simple_line_draw()
148 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_rotated_simple_line_draw()
193 if (dx >= dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
197 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw()
200 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw()
202 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw()
218 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw()
220 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c97 INT dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() local
145 dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_rotated_simple_line_draw()
151 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_rotated_simple_line_draw()
156 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_rotated_simple_line_draw()
200 if (dx >= dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
203 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw()
206 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw()
208 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw()
224 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw()
226 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c95 GX_FIXED_VAL dx; in _gx_display_driver_generic_rotated_wide_line_fill() local
153 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_wide_line_fill()
158 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_wide_line_fill()
159 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_wide_line_fill()
164 if (dx) in _gx_display_driver_generic_rotated_wide_line_fill()
166 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_wide_line_fill()
178 if (dx >= dy) in _gx_display_driver_generic_rotated_wide_line_fill()
194 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill()
198 decision += dx; in _gx_display_driver_generic_rotated_wide_line_fill()
232 decision += (dx >> 1); in _gx_display_driver_generic_rotated_wide_line_fill()
[all …]
Dgx_display_driver_generic_wide_line_fill.c97 GX_FIXED_VAL dx; in _gx_display_driver_generic_wide_line_fill() local
155 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_wide_line_fill()
160 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_wide_line_fill()
161 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_wide_line_fill()
166 if (dx) in _gx_display_driver_generic_wide_line_fill()
168 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_wide_line_fill()
180 if (dx >= dy) in _gx_display_driver_generic_wide_line_fill()
196 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill()
200 decision += dx; in _gx_display_driver_generic_wide_line_fill()
234 decision += (dx >> 1); in _gx_display_driver_generic_wide_line_fill()
[all …]
Dgx_display_driver_4bpp_simple_line_draw.c107 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_4bpp_simple_line_draw() local
115 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_4bpp_simple_line_draw()
120 x_sign = (xend - xstart) / dx; in _gx_display_driver_4bpp_simple_line_draw()
166 if (dx >= dy) in _gx_display_driver_4bpp_simple_line_draw()
169 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw()
172 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw()
174 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw()
191 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw()
193 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw()
212 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c94 GX_FIXED_VAL dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
120 if (!dx || !dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
132 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
138 x_sign = (xend - xstart) / dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
144 if (dx >= dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
165 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
171 decision += dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
196 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
212 if (dx >= dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
219 if (decision >= dx) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
[all …]
Dgx_display_driver_generic_aliased_line_draw.c88 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_aliased_line_draw() local
115 if (!dx || !dy) in _gx_display_driver_generic_aliased_line_draw()
129 if (dx == 1 && dy == 1) in _gx_display_driver_generic_aliased_line_draw()
178 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_aliased_line_draw()
184 x_sign = ((INT)xend - (INT)xstart) / dx; in _gx_display_driver_generic_aliased_line_draw()
198 if (dx >= dy) in _gx_display_driver_generic_aliased_line_draw()
205 if (decision >= dx) in _gx_display_driver_generic_aliased_line_draw()
207 decision -= dx; in _gx_display_driver_generic_aliased_line_draw()
212 back_alpha = ((decision << 8) / dx); in _gx_display_driver_generic_aliased_line_draw()
233 decision += dx) in _gx_display_driver_generic_aliased_line_draw()
[all …]
Dgx_display_driver_generic_wide_line_points_calculate.c104 int dx = GX_ABS(xEnd - xStart); in _gx_display_driver_generic_wide_line_points_calculate() local
107 if (((dx >= dy && (xStart > xEnd)) || ((dy > dx) && yStart > yEnd))) in _gx_display_driver_generic_wide_line_points_calculate()
113 …distance = (GX_FIXED_VAL)_gx_utility_math_sqrt((UINT)(GX_FIXED_VAL_MAKE(dx * dx) + GX_FIXED_VAL_MA… in _gx_display_driver_generic_wide_line_points_calculate()
119 if (dx) in _gx_display_driver_generic_wide_line_points_calculate()
121 xsign = (xEnd - xStart) / dx; in _gx_display_driver_generic_wide_line_points_calculate()
133 yside = dx; in _gx_display_driver_generic_wide_line_points_calculate()
Dgx_display_driver_generic_simple_pie_fill.c113 INT dx; in _gx_display_driver_generic_simple_pie_fill() local
311 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_pie_fill()
349 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_pie_fill()
350 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_pie_fill()
356 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_pie_fill()
382 if (dx >= dy) in _gx_display_driver_generic_simple_pie_fill()
385 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_pie_fill()
388 if (decision >= dx) in _gx_display_driver_generic_simple_pie_fill()
390 decision -= dx; in _gx_display_driver_generic_simple_pie_fill()
430 decision += dx) in _gx_display_driver_generic_simple_pie_fill()
Dgx_display_driver_generic_arc_fill.c108 INT dx; in _gx_display_driver_generic_arc_fill() local
337 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_arc_fill()
373 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_arc_fill()
374 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_arc_fill()
380 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_arc_fill()
383 if (dx >= dy) in _gx_display_driver_generic_arc_fill()
386 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_arc_fill()
389 if (decision >= dx) in _gx_display_driver_generic_arc_fill()
391 decision -= dx; in _gx_display_driver_generic_arc_fill()
431 decision += dx) in _gx_display_driver_generic_arc_fill()
Dgx_display_driver_generic_rotated_arc_fill.c105 INT dx; in _gx_display_driver_generic_rotated_arc_fill() local
306 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_arc_fill()
341 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_arc_fill()
342 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_arc_fill()
348 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_arc_fill()
351 if (dx >= dy) in _gx_display_driver_generic_rotated_arc_fill()
354 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_arc_fill()
357 if (decision >= dx) in _gx_display_driver_generic_rotated_arc_fill()
359 decision -= dx; in _gx_display_driver_generic_rotated_arc_fill()
399 decision += dx) in _gx_display_driver_generic_rotated_arc_fill()
Dgx_display_driver_generic_rotated_pie_fill.c114 INT dx; in _gx_display_driver_generic_rotated_simple_pie_fill() local
287 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_simple_pie_fill()
330 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_simple_pie_fill()
331 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_simple_pie_fill()
337 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_simple_pie_fill()
340 if (dx >= dy) in _gx_display_driver_generic_rotated_simple_pie_fill()
343 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_simple_pie_fill()
346 if (decision >= dx) in _gx_display_driver_generic_rotated_simple_pie_fill()
348 decision -= dx; in _gx_display_driver_generic_rotated_simple_pie_fill()
411 decision += dx) in _gx_display_driver_generic_rotated_simple_pie_fill()
Dgx_display_driver_generic_wide_arc_draw.c105 INT dx; in _gx_display_driver_generic_simple_wide_arc_draw() local
304 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_wide_arc_draw()
343 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_wide_arc_draw()
344 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_wide_arc_draw()
350 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_wide_arc_draw()
353 if (dx >= dy) in _gx_display_driver_generic_simple_wide_arc_draw()
356 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_wide_arc_draw()
359 if (decision >= dx) in _gx_display_driver_generic_simple_wide_arc_draw()
361 decision -= dx; in _gx_display_driver_generic_simple_wide_arc_draw()
401 decision += dx) in _gx_display_driver_generic_simple_wide_arc_draw()
Dgx_display_driver_generic_aliased_wide_arc_draw.c110 INT dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local
449 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
487 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
488 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
494 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
500 if (dx >= dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
530 if (decision >= dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
532 decision -= dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
586 decision += dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
/GUIX-v6.2.1/guix_studio/
Dtrigger_action_select_dlg.cpp90 int dx = 0; in UpdateListBoxHorizontalExtend() local
108 if (sz.cx > dx) in UpdateListBoxHorizontalExtend()
109 dx = sz.cx; in UpdateListBoxHorizontalExtend()
117 pList->SetHorizontalExtent(dx); in UpdateListBoxHorizontalExtend()
Dimport_sprite_frames_dlg.cpp163 int dx = 0; in UpdateListBoxHorizontalExtend() local
181 if (sz.cx > dx) in UpdateListBoxHorizontalExtend()
182 dx = sz.cx; in UpdateListBoxHorizontalExtend()
190 pList->SetHorizontalExtent(dx); in UpdateListBoxHorizontalExtend()
Dimage_reader.cpp309 int dx, dy, e, d, dx2; in BitmapStretch() local
312 dx = dest_height; in BitmapStretch()
314 e = (dy << 1) - dx; in BitmapStretch()
315 dx2 = dx << 1; in BitmapStretch()
318 for (d = 0; d < dx; d++) in BitmapStretch()
347 int dx, dy, e, d, dx2; in BitmapStretchStep() local
351 dx = dest_width; in BitmapStretchStep()
353 e = (dy << 1) - dx; in BitmapStretchStep()
354 dx2 = dx << 1; in BitmapStretchStep()
393 for (d = 0; d < dx; d++) in BitmapStretchStep()
Dtrigger_action_edit_dlg.cpp576 int dx = 0; in UpdateListBoxHorizontalExtend() local
594 if (sz.cx > dx) in UpdateListBoxHorizontalExtend()
595 dx = sz.cx; in UpdateListBoxHorizontalExtend()
603 pList->SetHorizontalExtent(dx); in UpdateListBoxHorizontalExtend()
/GUIX-v6.2.1/guix_studio/libs/freetype/include/freetype/
Dftcolor.h708 FT_Fixed xx, xy, dx; member
1116 FT_Fixed dx; member

12