/GUIX-v6.2.1/common/src/ |
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() 103 put += xstart >> 3; in _gx_display_driver_1bpp_horizontal_pixelmap_line_raw_write() 105 putmask = (GX_UBYTE)(0x80 >> (xstart & 0x07)); 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() 213 put += xstart >> 3; in _gx_display_driver_1bpp_horizontal_pixelmap_line_transparent_write() 215 putmask = (GX_UBYTE)(0x80 >> (xstart & 0x07)); 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() [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() 88 put += y * context -> gx_draw_context_pitch + xstart; 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() 170 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); 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 [all …]
|
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() 271 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); 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_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() 192 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); 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() 289 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); 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() 270 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); 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 …_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 276 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_rotated_horizontal_pixelmap_line_compressed_blend() 279 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_height); 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 …_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 298 if ((info -> draw) && (xstart <= xend)) in _gx_display_driver_565rgb_horizontal_pixelmap_line_compressed_blend() 301 start_pos = xstart - (info -> x_offset % pixelmap -> gx_pixelmap_width); 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_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() 102 put += xstart >> 1; in _gx_display_driver_4bpp_horizontal_pixelmap_line_raw_write() 104 if (xstart & 0x01) 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() 227 put += xstart >> 1; in _gx_display_driver_4bpp_horizontal_pixelmap_line_transparent_write() 228 if (xstart & 0x01) 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() [all …]
|
D | gx_display_driver_generic_aliased_wide_line_draw.c | 88 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 110 display -> gx_display_driver_simple_wide_line_draw(context, xstart, ystart, xend, yend); in _gx_display_driver_generic_aliased_wide_line_draw() 117 sxcenter = GX_FIXED_VAL_MAKE(xstart); 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() 154 clip_rect.gx_rectangle_left = (GX_VALUE)xstart; in _gx_display_driver_generic_aliased_wide_line_draw() 169 else if (xstart == xend) in _gx_display_driver_generic_aliased_wide_line_draw() 178 clip_rect.gx_rectangle_left = (GX_VALUE)(xstart - (brush_width >> 1)); in _gx_display_driver_generic_aliased_wide_line_draw() 195 line_points = _gx_display_driver_generic_wide_line_points_calculate(context, xstart, ystart, in _gx_display_driver_generic_aliased_wide_line_draw()
|
D | gx_display_driver_generic_filled_circle_draw.c | 87 GX_VALUE xstart; in _gx_display_driver_generic_filled_circle_draw() local 146 xstart = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter - x); in _gx_display_driver_generic_filled_circle_draw() 150 if (xstart < clip -> gx_rectangle_left) in _gx_display_driver_generic_filled_circle_draw() 152 xstart = clip -> gx_rectangle_left; 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() 213 xstart = (GX_VALUE)GX_FIXED_VAL_TO_INT(xcenter - x); in _gx_display_driver_generic_filled_circle_draw() 217 if (xstart < clip -> gx_rectangle_left) in _gx_display_driver_generic_filled_circle_draw() 219 xstart = clip -> gx_rectangle_left; 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_simple_wide_line_draw.c | 85 VOID _gx_display_driver_generic_simple_wide_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT yst… in _gx_display_driver_generic_simple_wide_line_draw() argument 109 sxcenter = GX_FIXED_VAL_MAKE(xstart); 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() 146 clip_rect.gx_rectangle_left = (GX_VALUE)xstart; in _gx_display_driver_generic_simple_wide_line_draw() 161 else if (xstart == xend) in _gx_display_driver_generic_simple_wide_line_draw() 170 clip_rect.gx_rectangle_left = (GX_VALUE)(xstart - (brush_width >> 1)); in _gx_display_driver_generic_simple_wide_line_draw() 190 line_points = _gx_display_driver_generic_wide_line_points_calculate(context, xstart, ystart, in _gx_display_driver_generic_simple_wide_line_draw()
|
D | gx_display_driver_generic_rotated_wide_line_fill.c | 89 INT xstart; in _gx_display_driver_generic_rotated_wide_line_fill() local 149 xstart = 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() 174 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_rotated_wide_line_fill() 203 xstart = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_rotated_wide_line_fill() 211 xstart++; in _gx_display_driver_generic_rotated_wide_line_fill() 229 xstart++; in _gx_display_driver_generic_rotated_wide_line_fill() [all …]
|
D | gx_display_driver_generic_wide_line_fill.c | 91 INT xstart; in _gx_display_driver_generic_wide_line_fill() local 151 xstart = 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() 176 x_fraction = (xstart & GX_FIXED_VAL_FRACTION_MASK); in _gx_display_driver_generic_wide_line_fill() 205 xstart = GX_FIXED_VAL_TO_INT(xstart); in _gx_display_driver_generic_wide_line_fill() 213 xstart++; in _gx_display_driver_generic_wide_line_fill() 231 xstart++; in _gx_display_driver_generic_wide_line_fill() [all …]
|
D | gx_display_driver_8bpp_rotated_simple_line_draw.c | 77 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 106 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_8bpp_rotated_simple_line_draw() 122 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 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() 151 …X_UBYTE *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_8bpp_rotated_simple_line_draw() 155 end_point.gx_point_x = (GX_VALUE)xstart; 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_32bpp_simple_line_draw.c | 76 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 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() 135 … (ULONG *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_32bpp_simple_line_draw() 139 end_point.gx_point_x = (GX_VALUE)xstart; 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() 170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() [all …]
|
D | gx_display_driver_8bpp_simple_line_draw.c | 82 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 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() 148 …X_UBYTE *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_8bpp_simple_line_draw() 152 end_point.gx_point_x = (GX_VALUE)xstart; 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() 183 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_simple_line_draw.c | 80 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 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() 139 …(USHORT *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_16bpp_simple_line_draw() 143 end_point.gx_point_x = (GX_VALUE)xstart; 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() 174 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < 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 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 111 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_32bpp_rotated_simple_line_draw() 116 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_32bpp_rotated_simple_line_draw() 132 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 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() 161 … (ULONG *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_32bpp_rotated_simple_line_draw() 165 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_32bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_rotated_simple_line_draw.c | 77 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 116 _gx_display_driver_simple_line_alpha_draw(context, xstart, ystart, xend, yend, alpha); in _gx_display_driver_16bpp_rotated_simple_line_draw() 121 GX_SWAP_VALS(xstart, ystart); in _gx_display_driver_16bpp_rotated_simple_line_draw() 137 xstart = context -> gx_draw_context_canvas -> gx_canvas_y_resolution - xstart - 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() 169 …(USHORT *)(context -> gx_draw_context_memory) + ystart * context -> gx_draw_context_pitch + xstart; in _gx_display_driver_16bpp_rotated_simple_line_draw() 173 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_16bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_horizontal_line_draw.c | 78 VOID _gx_display_driver_16bpp_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, … in _gx_display_driver_16bpp_horizontal_line_draw() argument 84 INT len = xend - xstart + 1; in _gx_display_driver_16bpp_horizontal_line_draw() 98 … _gx_display_driver_horizontal_line_alpha_draw(context, xstart, xend, ypos, width, color, alpha); in _gx_display_driver_16bpp_horizontal_line_draw() 110 rowstart += xstart; in _gx_display_driver_16bpp_horizontal_line_draw()
|
D | gx_display_driver_32bpp_horizontal_line_draw.c | 76 VOID _gx_display_driver_32bpp_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, … in _gx_display_driver_32bpp_horizontal_line_draw() argument 82 INT len = xend - xstart + 1; in _gx_display_driver_32bpp_horizontal_line_draw() 96 … _gx_display_driver_horizontal_line_alpha_draw(context, xstart, xend, ypos, width, color, alpha); in _gx_display_driver_32bpp_horizontal_line_draw() 108 rowstart += xstart; in _gx_display_driver_32bpp_horizontal_line_draw()
|
D | gx_display_driver_generic_rotated_arc_fill.c | 98 INT xstart; in _gx_display_driver_generic_rotated_arc_fill() local 174 xstart = point.gx_point_x; in _gx_display_driver_generic_rotated_arc_fill() 188 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill() 194 xmin = xstart; in _gx_display_driver_generic_rotated_arc_fill() 206 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill() 208 xmax = xstart; in _gx_display_driver_generic_rotated_arc_fill() 307 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_arc_fill() 310 if (xstart != xend) in _gx_display_driver_generic_rotated_arc_fill() 315 if (xstart > xend) in _gx_display_driver_generic_rotated_arc_fill() 317 GX_SWAP_VALS(xstart, xend); in _gx_display_driver_generic_rotated_arc_fill() [all …]
|
D | gx_display_driver_8bpp_horizontal_line_draw.c | 74 VOID _gx_display_driver_8bpp_horizontal_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, I… in _gx_display_driver_8bpp_horizontal_line_draw() argument 80 INT len = xend - xstart + 1; in _gx_display_driver_8bpp_horizontal_line_draw() 100 … _gx_display_driver_horizontal_line_alpha_draw(context, xstart, xend, ypos, width, color, alpha); in _gx_display_driver_8bpp_horizontal_line_draw() 112 rowstart += xstart; in _gx_display_driver_8bpp_horizontal_line_draw()
|
D | gx_display_driver_simple_line_alpha_draw.c | 83 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 99 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_simple_line_alpha_draw() 113 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_simple_line_alpha_draw() 115 GX_SWAP_VALS(xend, xstart); in _gx_display_driver_simple_line_alpha_draw() 118 x_sign = (xend - xstart) / dx; in _gx_display_driver_simple_line_alpha_draw() 121 end_point.gx_point_x = (GX_VALUE)xstart; in _gx_display_driver_simple_line_alpha_draw() 141 mid_point.gx_point_x = (GX_VALUE)((xend + xstart) >> 1); in _gx_display_driver_simple_line_alpha_draw() 152 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; 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() 269 half_rectangle.gx_rectangle_left = (GX_VALUE)xstart; in _gx_display_driver_simple_line_alpha_draw() [all …]
|