Home
last modified time | relevance | path

Searched refs:xstart (Results 1 – 25 of 101) sorted by relevance

12345

/GUIX-v6.2.1/common/src/
Dgx_display_driver_1bpp_horizontal_pixelmap_line_draw.c76 INT xstart, INT xend, INT y, in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() argument
97 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
102 put += xstart >> 3; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
104 putmask = (GX_UBYTE)(0x80 >> (xstart & 0x07)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
109 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write()
187 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() argument
207 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
212 put += xstart >> 3; in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
214 putmask = (GX_UBYTE)(0x80 >> (xstart & 0x07)); in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
219 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_8bpp_horizontal_pixelmap_line_draw.c80 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend() argument
99 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
106 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend()
170 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend() argument
187 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend()
191 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend()
210 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend()
223 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend()
307 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend() argument
329 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend()
[all …]
Dgx_display_driver_32bpp_rotated_horizontal_pixelmap_line_draw.c79 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend() argument
92 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
99 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend()
168 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend() argument
181 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
188 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend()
254 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend() argument
266 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend()
270 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend()
291 if (xval >= xstart && xval <= xend) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend()
[all …]
Dgx_display_driver_32bpp_horizontal_pixelmap_line_draw.c79 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend() argument
92 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
99 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend()
168 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend() argument
181 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
188 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend()
253 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend() argument
265 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend()
269 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend()
290 if (xval >= xstart && xval <= xend) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend()
[all …]
Dgx_display_driver_4444argb_horizontal_pixelmap_line_draw.c80 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend() argument
99 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
106 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend()
176 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend() argument
196 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
201 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend()
267 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info, GX_UBYTE alpha) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend() argument
285 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend()
288 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend()
308 if (xval >= xstart && xval <= xend) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend()
[all …]
Dgx_display_driver_565rgb_rotated_horizontal_pixelmap_line_draw.c80 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() argument
96 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
101 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend()
165 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() argument
181 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
190 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend()
262 …_horizontal_pixelmap_line_compressed_blend(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT y, … in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() argument
275 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend()
278 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend()
296 if (xval >= xstart && xval <= xend) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend()
[all …]
Dgx_display_driver_8bpp_rotated_horizontal_pixelmap_line_draw.c70 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() argument
83 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
87 put += y * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
92 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write()
154 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() argument
166 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write()
169 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write()
191 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write()
205 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write()
288 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write() argument
[all …]
Dgx_display_driver_565rgb_horizontal_pixelmap_line_draw.c82 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() argument
105 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
110 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend()
175 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() argument
198 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
207 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend()
280 …_horizontal_pixelmap_line_compressed_blend(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT y, … in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() argument
297 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend()
300 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend()
318 if (xval >= xstart && xval <= xend) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend()
[all …]
Dgx_display_driver_4bpp_horizontal_pixelmap_line_draw.c77 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() argument
96 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
101 put += xstart >> 1; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
103 if (xstart & 0x01) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
115 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write()
197 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() argument
221 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
226 put += xstart >> 1; in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
227 if (xstart & 0x01) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
239 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c76 VOID _gx_display_driver_8bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT yst… in _gx_display_driver_8bpp_rotated_simple_line_draw() argument
105 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_8bpp_rotated_simple_line_draw()
121 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 1; in _gx_display_driver_8bpp_rotated_simple_line_draw()
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()
135 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_8bpp_rotated_simple_line_draw()
138 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_rotated_simple_line_draw()
150 …X_UBYTE *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_8bpp_rotated_simple_line_draw()
154 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_8bpp_rotated_simple_line_draw()
174 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c73 VOID _gx_display_driver_32bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ys… in _gx_display_driver_32bpp_rotated_simple_line_draw() argument
110 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_32bpp_rotated_simple_line_draw()
115 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_32bpp_rotated_simple_line_draw()
131 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 1; in _gx_display_driver_32bpp_rotated_simple_line_draw()
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()
145 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_32bpp_rotated_simple_line_draw()
148 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_rotated_simple_line_draw()
160 … (ULONG *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_32bpp_rotated_simple_line_draw()
164 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c76 VOID _gx_display_driver_16bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ys… in _gx_display_driver_16bpp_rotated_simple_line_draw() argument
115 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_16bpp_rotated_simple_line_draw()
120 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_16bpp_rotated_simple_line_draw()
136 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 1; in _gx_display_driver_16bpp_rotated_simple_line_draw()
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()
153 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_16bpp_rotated_simple_line_draw()
156 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_rotated_simple_line_draw()
168 …(USHORT *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_16bpp_rotated_simple_line_draw()
172 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c81 VOID _gx_display_driver_8bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT… in _gx_display_driver_8bpp_simple_line_draw() argument
103 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_simple_line_draw()
125 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_8bpp_simple_line_draw()
130 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_simple_line_draw()
132 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_8bpp_simple_line_draw()
135 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_simple_line_draw()
147 …X_UBYTE *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_8bpp_simple_line_draw()
151 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_8bpp_simple_line_draw()
171 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; 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()
[all …]
Dgx_display_driver_32bpp_simple_line_draw.c75 VOID _gx_display_driver_32bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, IN… in _gx_display_driver_32bpp_simple_line_draw() argument
96 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_simple_line_draw()
112 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_32bpp_simple_line_draw()
117 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_simple_line_draw()
119 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_32bpp_simple_line_draw()
122 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_simple_line_draw()
134 … (ULONG *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_32bpp_simple_line_draw()
138 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_32bpp_simple_line_draw()
158 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; 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()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c83 VOID _gx_display_driver_16bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, IN… in _gx_display_driver_16bpp_simple_line_draw() argument
104 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_simple_line_draw()
121 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_16bpp_simple_line_draw()
126 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_simple_line_draw()
128 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_16bpp_simple_line_draw()
131 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_simple_line_draw()
144 GX_CALCULATE_PUTROW(put, xstart, ystart, context); in _gx_display_driver_16bpp_simple_line_draw()
150 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_16bpp_simple_line_draw()
170 mid_point.gx_point_x = (GX_VALUE)((xend + xstart) >> 1); 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()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c88 INT xstart; in _gx_display_driver_generic_rotated_wide_line_fill() local
148 xstart = pGet -> x; in _gx_display_driver_generic_rotated_wide_line_fill()
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()
161 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_generic_rotated_wide_line_fill()
166 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_wide_line_fill()
173 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_rotated_wide_line_fill()
202 xstart = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_rotated_wide_line_fill()
210 xstart++; in _gx_display_driver_generic_rotated_wide_line_fill()
228 xstart++; in _gx_display_driver_generic_rotated_wide_line_fill()
[all …]
Dgx_display_driver_generic_wide_line_fill.c90 INT xstart; in _gx_display_driver_generic_wide_line_fill() local
150 xstart = pGet -> x; in _gx_display_driver_generic_wide_line_fill()
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()
163 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_generic_wide_line_fill()
168 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_wide_line_fill()
175 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_wide_line_fill()
204 xstart = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_wide_line_fill()
212 xstart++; in _gx_display_driver_generic_wide_line_fill()
230 xstart++; in _gx_display_driver_generic_wide_line_fill()
[all …]
Dgx_display_driver_generic_rotated_arc_fill.c97 INT xstart; in _gx_display_driver_generic_rotated_arc_fill() local
173 xstart = point.gx_point_x; in _gx_display_driver_generic_rotated_arc_fill()
187 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill()
193 xmin = xstart; in _gx_display_driver_generic_rotated_arc_fill()
205 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill()
207 xmax = xstart; in _gx_display_driver_generic_rotated_arc_fill()
306 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_arc_fill()
309 if (xstart != xend) in _gx_display_driver_generic_rotated_arc_fill()
314 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill()
316 GX_SWAP_VALS(xstart, xend); in _gx_display_driver_generic_rotated_arc_fill()
[all …]
Dgx_display_driver_generic_filled_circle_draw.c86 GX_VALUE xstart; in _gx_display_driver_generic_filled_circle_draw() local
145 xstart = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter - x); in _gx_display_driver_generic_filled_circle_draw()
149 if (xstart < clip -> gx_rectangle_left) in _gx_display_driver_generic_filled_circle_draw()
151 xstart = clip -> gx_rectangle_left; in _gx_display_driver_generic_filled_circle_draw()
159 if (xstart <= xend && in _gx_display_driver_generic_filled_circle_draw()
163 …display -> gx_display_driver_horizontal_line_draw(context, xstart, xend, yi, 1, brush -> gx_brush_… in _gx_display_driver_generic_filled_circle_draw()
212 xstart = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter - x); in _gx_display_driver_generic_filled_circle_draw()
216 if (xstart < clip -> gx_rectangle_left) in _gx_display_driver_generic_filled_circle_draw()
218 xstart = clip -> gx_rectangle_left; in _gx_display_driver_generic_filled_circle_draw()
226 if (xstart <= xend && in _gx_display_driver_generic_filled_circle_draw()
[all …]
Dgx_display_driver_generic_aliased_wide_line_draw.c87 VOID _gx_display_driver_generic_aliased_wide_line_draw(GX_DRAW_CONTEXT *context, INT xstart, in _gx_display_driver_generic_aliased_wide_line_draw() argument
109 display -> gx_display_driver_simple_wide_line_draw(context, xstart, ystart, xend, yend); in _gx_display_driver_generic_aliased_wide_line_draw()
116 sxcenter = GX_FIXED_VAL_MAKE(xstart); in _gx_display_driver_generic_aliased_wide_line_draw()
129 else if (xstart == xend) in _gx_display_driver_generic_aliased_wide_line_draw()
148 if (xstart > xend) in _gx_display_driver_generic_aliased_wide_line_draw()
150 GX_SWAP_VALS(xstart, xend); in _gx_display_driver_generic_aliased_wide_line_draw()
153 clip_rect.gx_rectangle_left = (GX_VALUE)xstart; in _gx_display_driver_generic_aliased_wide_line_draw()
168 else if (xstart == xend) in _gx_display_driver_generic_aliased_wide_line_draw()
177 clip_rect.gx_rectangle_left = (GX_VALUE)(xstart - (brush_width >> 1)); in _gx_display_driver_generic_aliased_wide_line_draw()
194 line_points = _gx_display_driver_generic_wide_line_points_calculate(context, xstart, ystart, in _gx_display_driver_generic_aliased_wide_line_draw()
Dgx_display_driver_simple_line_alpha_draw.c82 VOID _gx_display_driver_simple_line_alpha_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, IN… in _gx_display_driver_simple_line_alpha_draw() argument
98 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_simple_line_alpha_draw()
112 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_simple_line_alpha_draw()
114 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_simple_line_alpha_draw()
117 x_sign = (xend - xstart) / dx; in _gx_display_driver_simple_line_alpha_draw()
120 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_simple_line_alpha_draw()
140 mid_point.gx_point_x = (GX_VALUE)((xend + xstart) >> 1); 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()
235 … for (curx = xstart, cury = ystart, decision = (dy >> 1); cury < mid_point.gx_point_y; in _gx_display_driver_simple_line_alpha_draw()
268 half_rectangle.gx_rectangle_left = (GX_VALUE)xstart; in _gx_display_driver_simple_line_alpha_draw()
[all …]
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_all_widgets_24xrgb_rotated_cw_line_draw.c65 int xstart, xend, ystart, yend; in test_line_win_draw() local
113 xstart = size->gx_rectangle_right - 50; in test_line_win_draw()
118 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
120 xstart = size->gx_rectangle_left - 50; in test_line_win_draw()
125 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
127 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
131 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
133 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
137 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
139 xstart = size->gx_rectangle_right - 10; in test_line_win_draw()
[all …]
Dvalidation_guix_all_widgets_16bpp_rotated_line_draw.c65 int xstart, xend, ystart, yend; in test_line_win_draw() local
113 xstart = size->gx_rectangle_right - 50; in test_line_win_draw()
118 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
120 xstart = size->gx_rectangle_left - 50; in test_line_win_draw()
125 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
127 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
131 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
133 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
137 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
139 xstart = size->gx_rectangle_right - 10; in test_line_win_draw()
[all …]
Dvalidation_guix_all_widgets_8bpp_rotated_cw_line_draw.c71 int xstart, xend, ystart, yend; in test_line_win_draw() local
118 xstart = size->gx_rectangle_right - 50; in test_line_win_draw()
123 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
125 xstart = size->gx_rectangle_left - 50; in test_line_win_draw()
130 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
132 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
136 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
138 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
142 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
144 xstart = size->gx_rectangle_right - 10; in test_line_win_draw()
[all …]
Dvalidation_guix_partial_frame_buffer_16bpp_line_draw.c65 int xstart, xend, ystart, yend; in test_line_win_draw() local
113 xstart = size->gx_rectangle_right - 50; in test_line_win_draw()
118 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
120 xstart = size->gx_rectangle_left - 50; in test_line_win_draw()
125 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
127 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
131 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
133 xstart = ((size->gx_rectangle_left + size->gx_rectangle_right) >> 1) - 50; in test_line_win_draw()
137 gx_canvas_line_draw(xstart, ystart, xend, yend); in test_line_win_draw()
139 xstart = size->gx_rectangle_right - 10; in test_line_win_draw()
[all …]

12345