/GUIX-v6.2.1/common/src/ |
D | gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_draw.c | 80 … 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 93 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend() 100 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_alpha_blend() 169 … 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 182 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend() 189 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_raw_blend() 255 … 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 267 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend() 274 while (start_pos <= xend) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend() 292 if (xval >= xstart && xval <= xend) in _gx_display_driver_32bpp_rotated_horizontal_pixelmap_line_compressed_blend() [all …]
|
D | gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_draw.c | 71 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() argument 84 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() 93 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_raw_write() 155 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() argument 167 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() 176 while (start_pos <= xend) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() 192 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() 206 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_compressed_write() 289 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write() argument 302 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_rotated_horizontal_pixelmap_line_transparent_write() [all …]
|
D | gx_display_driver_8bpp_horizontal_pixelmap_line_draw.c | 81 … 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 100 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend() 107 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_8bpp_horizontal_pixelmap_line_raw_blend() 171 … 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 188 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend() 195 while (start_pos <= xend) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend() 211 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend() 224 if (xval >= xstart && xval <= xend) in _gx_display_driver_8bpp_horizontal_pixelmap_line_compressed_blend() 308 … 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 330 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_8bpp_horizontal_pixelmap_line_alpha_blend() [all …]
|
D | gx_display_driver_4444argb_horizontal_pixelmap_line_draw.c | 81 … 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 100 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend() 107 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4444argb_horizontal_pixelmap_line_alpha_blend() 177 … 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 197 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend() 202 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4444argb_horizontal_pixelmap_line_raw_blend() 268 … 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 286 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend() 292 while (start_pos <= xend) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend() 309 if (xval >= xstart && xval <= xend) in _gx_display_driver_4444argb_horizontal_pixelmap_line_compressed_alpha_blend() [all …]
|
D | gx_display_driver_32bpp_horizontal_pixelmap_line_draw.c | 80 … 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 93 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend() 100 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_horizontal_pixelmap_line_alpha_blend() 169 … 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 182 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_raw_blend() 189 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_32bpp_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_horizontal_pixelmap_line_compressed_blend() argument 266 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend() 273 while (start_pos <= xend) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend() 291 if (xval >= xstart && xval <= xend) in _gx_display_driver_32bpp_horizontal_pixelmap_line_compressed_blend() [all …]
|
D | gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_draw.c | 81 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() argument 97 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() 102 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_raw_blend() 166 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() argument 182 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() 191 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_alpha_blend() 263 …_pixelmap_line_compressed_blend(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT y, GX_FILL_PIX… in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() argument 276 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() 281 while (start_pos <= xend) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() 297 if (xval >= xstart && xval <= xend) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() [all …]
|
D | gx_display_driver_565rgb_horizontal_pixelmap_line_draw.c | 83 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() argument 106 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() 111 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_horizontal_pixelmap_line_raw_blend() 176 … INT xstart, INT xend, INT y, in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() argument 199 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() 208 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_565rgb_horizontal_pixelmap_line_alpha_blend() 281 …_pixelmap_line_compressed_blend(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT y, GX_FILL_PIX… in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() argument 298 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() 303 while (start_pos <= xend) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() 319 if (xval >= xstart && xval <= xend) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() [all …]
|
D | gx_display_driver_1bpp_horizontal_pixelmap_line_draw.c | 77 INT xstart, INT xend, INT y, in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() argument 98 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() 110 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() 188 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() argument 208 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() 220 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() 302 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_1bpp_horizontal_pixelmap_line_compressed_write() argument 315 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_1bpp_horizontal_pixelmap_line_compressed_write() 326 while (start_pos <= xend) in _gx_display_driver_1bpp_horizontal_pixelmap_line_compressed_write() 342 if (xval >= xstart && xval <= xend) in _gx_display_driver_1bpp_horizontal_pixelmap_line_compressed_write() [all …]
|
D | gx_display_driver_generic_filled_circle_draw.c | 88 GX_VALUE xend; in _gx_display_driver_generic_filled_circle_draw() local 147 xend = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter + x); in _gx_display_driver_generic_filled_circle_draw() 155 if (xend > clip -> gx_rectangle_right) in _gx_display_driver_generic_filled_circle_draw() 157 xend = clip -> gx_rectangle_right; in _gx_display_driver_generic_filled_circle_draw() 160 if (xstart <= xend && in _gx_display_driver_generic_filled_circle_draw() 164 …display -> gx_display_driver_horizontal_line_draw(context, xstart, xend, yi, 1, brush -> gx_brush_… in _gx_display_driver_generic_filled_circle_draw() 214 xend = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter + x); in _gx_display_driver_generic_filled_circle_draw() 222 if (xend > clip -> gx_rectangle_right) in _gx_display_driver_generic_filled_circle_draw() 224 xend = clip -> gx_rectangle_right; in _gx_display_driver_generic_filled_circle_draw() 227 if (xstart <= xend && in _gx_display_driver_generic_filled_circle_draw() [all …]
|
D | gx_display_driver_generic_aliased_wide_line_draw.c | 89 INT ystart, INT xend, INT yend) in _gx_display_driver_generic_aliased_wide_line_draw() argument 110 display -> gx_display_driver_simple_wide_line_draw(context, xstart, ystart, xend, yend); in _gx_display_driver_generic_aliased_wide_line_draw() 119 excenter = GX_FIXED_VAL_MAKE(xend); in _gx_display_driver_generic_aliased_wide_line_draw() 130 else if (xstart == xend) in _gx_display_driver_generic_aliased_wide_line_draw() 149 if (xstart > xend) in _gx_display_driver_generic_aliased_wide_line_draw() 151 GX_SWAP_VALS(xstart, xend); in _gx_display_driver_generic_aliased_wide_line_draw() 155 clip_rect.gx_rectangle_right = (GX_VALUE)xend; in _gx_display_driver_generic_aliased_wide_line_draw() 169 else if (xstart == xend) in _gx_display_driver_generic_aliased_wide_line_draw() 196 … xend, yend, brush_width, GX_TRUE); in _gx_display_driver_generic_aliased_wide_line_draw()
|
D | gx_display_driver_generic_simple_wide_line_draw.c | 86 INT xend, INT yend) in _gx_display_driver_generic_simple_wide_line_draw() argument 111 excenter = GX_FIXED_VAL_MAKE(xend); in _gx_display_driver_generic_simple_wide_line_draw() 122 else if (xstart == xend) in _gx_display_driver_generic_simple_wide_line_draw() 141 if (xstart > xend) in _gx_display_driver_generic_simple_wide_line_draw() 143 GX_SWAP_VALS(xstart, xend); in _gx_display_driver_generic_simple_wide_line_draw() 147 clip_rect.gx_rectangle_right = (GX_VALUE)xend; in _gx_display_driver_generic_simple_wide_line_draw() 161 else if (xstart == xend) in _gx_display_driver_generic_simple_wide_line_draw() 191 … xend, yend, brush_width, GX_FALSE); in _gx_display_driver_generic_simple_wide_line_draw()
|
D | gx_display_driver_4bpp_horizontal_pixelmap_line_draw.c | 78 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() argument 97 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() 116 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() 198 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() argument 222 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() 240 for (xval = xstart; xval <= xend; xval++) in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() 326 … INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info) in _gx_display_driver_4bpp_horizontal_pixelmap_line_compressed_write() argument 341 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_4bpp_horizontal_pixelmap_line_compressed_write() 359 while (start_pos <= xend) in _gx_display_driver_4bpp_horizontal_pixelmap_line_compressed_write() 385 if (xval >= xstart && xval <= xend) in _gx_display_driver_4bpp_horizontal_pixelmap_line_compressed_write() [all …]
|
D | gx_display_driver_generic_aliased_filled_circle_draw.c | 96 GX_VALUE xend; in _gx_display_driver_generic_aliased_filled_circle_draw() local 177 xend = point.gx_point_x; in _gx_display_driver_generic_aliased_filled_circle_draw() 196 if (xend > clip -> gx_rectangle_right) in _gx_display_driver_generic_aliased_filled_circle_draw() 198 xend = clip -> gx_rectangle_right; in _gx_display_driver_generic_aliased_filled_circle_draw() 201 if (xstart <= xend && in _gx_display_driver_generic_aliased_filled_circle_draw() 205 …display -> gx_display_driver_horizontal_line_draw(context, xstart, xend, yi, 1, brush -> gx_brush_… in _gx_display_driver_generic_aliased_filled_circle_draw() 263 xend = (GX_VALUE)(point.gx_point_x - 1); in _gx_display_driver_generic_aliased_filled_circle_draw() 280 if (xend > clip -> gx_rectangle_right) in _gx_display_driver_generic_aliased_filled_circle_draw() 282 xend = clip -> gx_rectangle_right; in _gx_display_driver_generic_aliased_filled_circle_draw() 285 if (xstart <= xend && in _gx_display_driver_generic_aliased_filled_circle_draw() [all …]
|
D | gx_display_driver_1bpp_horizontal_line_draw.c | 73 VOID _gx_display_driver_1bpp_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, I… in _gx_display_driver_1bpp_horizontal_line_draw() argument 97 while (column <= xend) in _gx_display_driver_1bpp_horizontal_line_draw() 99 if ((mask == 0x80) && (xend - column + 1 >= 8)) in _gx_display_driver_1bpp_horizontal_line_draw() 101 while (xend - column + 1 >= 8) in _gx_display_driver_1bpp_horizontal_line_draw()
|
D | gx_display_driver_8bpp_rotated_simple_line_draw.c | 77 …8bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_8bpp_rotated_simple_line_draw() argument 107 GX_SWAP_VALS(xend, yend); in _gx_display_driver_8bpp_rotated_simple_line_draw() 123 xend = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xend - 1; in _gx_display_driver_8bpp_rotated_simple_line_draw() 131 dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_rotated_simple_line_draw() 134 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_rotated_simple_line_draw() 136 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_8bpp_rotated_simple_line_draw() 139 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() 152 …= (GX_UBYTE *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_8bpp_rotated_simple_line_draw() 160 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_8bpp_rotated_simple_line_draw() 175 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; in _gx_display_driver_8bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_4bpp_horizontal_line_draw.c | 73 VOID _gx_display_driver_4bpp_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, I… in _gx_display_driver_4bpp_horizontal_line_draw() argument 107 while (column <= xend) in _gx_display_driver_4bpp_horizontal_line_draw() 109 if ((mask == 0xf0) && (xend - column) > 2) in _gx_display_driver_4bpp_horizontal_line_draw() 111 while ((xend - column) > 2) in _gx_display_driver_4bpp_horizontal_line_draw()
|
D | gx_display_driver_32bpp_simple_line_draw.c | 76 …driver_32bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_32bpp_simple_line_draw() argument 97 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_simple_line_draw() 113 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_32bpp_simple_line_draw() 118 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_simple_line_draw() 120 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_32bpp_simple_line_draw() 123 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_simple_line_draw() 136 …ut = (ULONG *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_32bpp_simple_line_draw() 144 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_32bpp_simple_line_draw() 159 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; in _gx_display_driver_32bpp_simple_line_draw() 200 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() [all …]
|
D | gx_display_driver_8bpp_simple_line_draw.c | 82 …_driver_8bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_8bpp_simple_line_draw() argument 104 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_simple_line_draw() 126 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_8bpp_simple_line_draw() 131 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_simple_line_draw() 133 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_8bpp_simple_line_draw() 136 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_simple_line_draw() 149 …= (GX_UBYTE *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_8bpp_simple_line_draw() 157 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_8bpp_simple_line_draw() 172 mid_point.gx_point_x = (GX_VALUE)(xend + xstart) >> 1; in _gx_display_driver_8bpp_simple_line_draw() 213 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_simple_line_draw.c | 80 …driver_16bpp_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_16bpp_simple_line_draw() argument 101 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_simple_line_draw() 117 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_16bpp_simple_line_draw() 122 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_simple_line_draw() 124 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_16bpp_simple_line_draw() 127 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_simple_line_draw() 140 …t = (USHORT *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_16bpp_simple_line_draw() 148 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_16bpp_simple_line_draw() 163 mid_point.gx_point_x = (GX_VALUE)((xend + xstart) >> 1); in _gx_display_driver_16bpp_simple_line_draw() 204 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw() [all …]
|
D | gx_display_driver_32bpp_rotated_simple_line_draw.c | 74 …2bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_32bpp_rotated_simple_line_draw() argument 111 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_32bpp_rotated_simple_line_draw() 117 GX_SWAP_VALS(xend, yend); in _gx_display_driver_32bpp_rotated_simple_line_draw() 133 xend = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xend - 1; in _gx_display_driver_32bpp_rotated_simple_line_draw() 141 dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_rotated_simple_line_draw() 144 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_rotated_simple_line_draw() 146 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_32bpp_rotated_simple_line_draw() 149 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() 162 …ut = (ULONG *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_32bpp_rotated_simple_line_draw() 170 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_32bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_rotated_simple_line_draw.c | 77 …6bpp_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend) in _gx_display_driver_16bpp_rotated_simple_line_draw() argument 116 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_16bpp_rotated_simple_line_draw() 122 GX_SWAP_VALS(xend, yend); in _gx_display_driver_16bpp_rotated_simple_line_draw() 138 xend = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xend - 1; in _gx_display_driver_16bpp_rotated_simple_line_draw() 146 dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_rotated_simple_line_draw() 152 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_rotated_simple_line_draw() 154 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_16bpp_rotated_simple_line_draw() 157 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() 170 …t = (USHORT *)(context -> gx_draw_context_memory) + yend * context -> gx_draw_context_pitch + xend; in _gx_display_driver_16bpp_rotated_simple_line_draw() 178 end_point.gx_point_x = (GX_VALUE)xend; in _gx_display_driver_16bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_rotated_horizontal_line_draw.c | 76 …pp_rotated_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT ypos, INT widt… in _gx_display_driver_16bpp_rotated_horizontal_line_draw() argument 83 INT len = xend - xstart + 1; in _gx_display_driver_16bpp_rotated_horizontal_line_draw() 97 … _gx_display_driver_horizontal_line_alpha_draw(context, xstart, xend, ypos, width, color, alpha); in _gx_display_driver_16bpp_rotated_horizontal_line_draw() 113 rowstart += xend * context -> gx_draw_context_pitch; in _gx_display_driver_16bpp_rotated_horizontal_line_draw()
|
D | gx_display_driver_32bpp_rotated_horizontal_line_draw.c | 75 …pp_rotated_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT ypos, INT widt… in _gx_display_driver_32bpp_rotated_horizontal_line_draw() argument 81 INT len = xend - xstart + 1; in _gx_display_driver_32bpp_rotated_horizontal_line_draw() 95 … _gx_display_driver_horizontal_line_alpha_draw(context, xstart, xend, ypos, width, color, alpha); in _gx_display_driver_32bpp_rotated_horizontal_line_draw() 111 rowstart += xend * context -> gx_draw_context_pitch; in _gx_display_driver_32bpp_rotated_horizontal_line_draw()
|
D | gx_display_driver_generic_rotated_wide_line_fill.c | 90 INT xend; in _gx_display_driver_generic_rotated_wide_line_fill() local 152 xend = pGet -> x; in _gx_display_driver_generic_rotated_wide_line_fill() 154 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_wide_line_fill() 159 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_wide_line_fill() 162 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_generic_rotated_wide_line_fill() 167 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_wide_line_fill() 207 xend = GX_FIXED_VAL_TO_INT(xend); in _gx_display_driver_generic_rotated_wide_line_fill() 225 xend = GX_FIXED_VAL_RND(xend); in _gx_display_driver_generic_rotated_wide_line_fill() 241 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_rotated_wide_line_fill()
|
D | gx_display_driver_generic_wide_line_fill.c | 92 INT xend; in _gx_display_driver_generic_wide_line_fill() local 154 xend = pGet -> x; in _gx_display_driver_generic_wide_line_fill() 156 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_wide_line_fill() 161 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_wide_line_fill() 164 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_generic_wide_line_fill() 169 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_wide_line_fill() 209 xend = GX_FIXED_VAL_TO_INT(xend); in _gx_display_driver_generic_wide_line_fill() 227 xend = GX_FIXED_VAL_RND(xend); in _gx_display_driver_generic_wide_line_fill() 243 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_wide_line_fill()
|