| /GUIX-v6.2.1/common/src/ |
| D | gx_canvas_pie_draw.c | 100 INT brush_width; in _gx_canvas_pie_draw() local 136 brush_width = ((INT)(brush -> gx_brush_width + 1)) >> 1; in _gx_canvas_pie_draw() 139 …gle_define(&bound, (GX_VALUE)(xcenter - (INT)r - brush_width), (GX_VALUE)(ycenter - (INT)r - brush… in _gx_canvas_pie_draw() 140 … (GX_VALUE)(xcenter + (INT)r + brush_width), (GX_VALUE)(ycenter + (INT)r + brush_width)); in _gx_canvas_pie_draw() 142 brush_width = brush -> gx_brush_width; in _gx_canvas_pie_draw() 159 if (brush_width == 1) in _gx_canvas_pie_draw() 175 if (brush_width > 1) in _gx_canvas_pie_draw() 207 if (brush_width) in _gx_canvas_pie_draw() 209 brush_width -= 1; in _gx_canvas_pie_draw() 210 brush_width >>= 1; in _gx_canvas_pie_draw() [all …]
|
| D | gx_canvas_rectangle_draw.c | 181 GX_VALUE brush_width; in _gx_canvas_rectangle_draw() local 202 brush_width = context -> gx_draw_context_brush.gx_brush_width; in _gx_canvas_rectangle_draw() 204 switch (brush_width) in _gx_canvas_rectangle_draw() 241 fill_rect.gx_rectangle_bottom = (GX_VALUE)(fill_rect.gx_rectangle_top + brush_width - 1); in _gx_canvas_rectangle_draw() 246 fill_rect.gx_rectangle_top = (GX_VALUE)(fill_rect.gx_rectangle_bottom - brush_width + 1); in _gx_canvas_rectangle_draw() 250 fill_rect.gx_rectangle_top = (GX_VALUE)(rectangle -> gx_rectangle_top + brush_width); in _gx_canvas_rectangle_draw() 251 fill_rect.gx_rectangle_bottom = (GX_VALUE)(fill_rect.gx_rectangle_bottom - brush_width); in _gx_canvas_rectangle_draw() 252 fill_rect.gx_rectangle_right = (GX_VALUE)(fill_rect.gx_rectangle_left + brush_width - 1); in _gx_canvas_rectangle_draw() 257 fill_rect.gx_rectangle_left = (GX_VALUE)(fill_rect.gx_rectangle_right - brush_width + 1); in _gx_canvas_rectangle_draw() 261 fill_rect.gx_rectangle_bottom = (GX_VALUE)(rectangle -> gx_rectangle_bottom - brush_width); in _gx_canvas_rectangle_draw() [all …]
|
| D | gx_canvas_ellipse_draw.c | 87 INT brush_width; in _gx_canvas_ellipse_draw() local 95 brush_width = (brush -> gx_brush_width + 1) >> 1; in _gx_canvas_ellipse_draw() 98 …_rectangle_define(&bound, (GX_VALUE)(xcenter - a - brush_width), (GX_VALUE)(ycenter - b - brush_wi… in _gx_canvas_ellipse_draw() 99 … (GX_VALUE)(xcenter + a + brush_width), (GX_VALUE)(ycenter + b + brush_width)); in _gx_canvas_ellipse_draw() 101 brush_width = brush -> gx_brush_width; in _gx_canvas_ellipse_draw() 117 if(brush_width == 1) in _gx_canvas_ellipse_draw() 132 if (brush_width > 1) in _gx_canvas_ellipse_draw()
|
| D | gx_canvas_circle_draw.c | 86 INT brush_width; in _gx_canvas_circle_draw() local 94 brush_width = (brush -> gx_brush_width + 1) >> 1; in _gx_canvas_circle_draw() 96 …gle_define(&bound, (GX_VALUE)(xcenter - (INT)r - brush_width), (GX_VALUE)(ycenter - (INT)r - brush… in _gx_canvas_circle_draw() 97 … (GX_VALUE)(xcenter + (INT)r + brush_width), (GX_VALUE)(ycenter + (INT)r + brush_width)); in _gx_canvas_circle_draw() 99 brush_width = brush -> gx_brush_width; in _gx_canvas_circle_draw() 115 if (brush_width == 1) in _gx_canvas_circle_draw() 131 if (brush_width > 1) in _gx_canvas_circle_draw()
|
| D | gx_display_driver_generic_wide_ellipse_draw.c | 84 INT brush_width; in _gx_display_driver_generic_wide_ellipse_draw() local 108 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_wide_ellipse_draw() 110 if ((a <= ((brush_width - 1) >> 1)) || in _gx_display_driver_generic_wide_ellipse_draw() 111 (b <= ((brush_width - 1) >> 1))) in _gx_display_driver_generic_wide_ellipse_draw() 118 ymin = ycenter - b - (brush_width >> 1); in _gx_display_driver_generic_wide_ellipse_draw() 119 ymax = ycenter + b + (brush_width >> 1); in _gx_display_driver_generic_wide_ellipse_draw() 139 y2 = ycenter - b - (brush_width >> 1); in _gx_display_driver_generic_wide_ellipse_draw() 140 for (y = y2; y < y2 + brush_width; y++) in _gx_display_driver_generic_wide_ellipse_draw() 148 y2 = ycenter + b - ((brush_width - 1) >> 1); in _gx_display_driver_generic_wide_ellipse_draw() 149 for (y = y2; y < y2 + brush_width; y++) in _gx_display_driver_generic_wide_ellipse_draw() [all …]
|
| D | gx_display_driver_generic_simple_wide_line_draw.c | 89 INT brush_width = context -> gx_draw_context_brush.gx_brush_width; in _gx_display_driver_generic_simple_wide_line_draw() local 106 (brush_width > 2)) in _gx_display_driver_generic_simple_wide_line_draw() 113 if (!(brush_width & 0x01)) in _gx_display_driver_generic_simple_wide_line_draw() 130 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_simple_wide_line_draw() 133 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_simple_wide_line_draw() 147 clip_rect.gx_rectangle_top = (GX_VALUE)(ystart - (brush_width >> 1)); in _gx_display_driver_generic_simple_wide_line_draw() 148 clip_rect.gx_rectangle_bottom = (GX_VALUE)(clip_rect.gx_rectangle_top + brush_width - 1); in _gx_display_driver_generic_simple_wide_line_draw() 169 clip_rect.gx_rectangle_left = (GX_VALUE)(xstart - (brush_width >> 1)); in _gx_display_driver_generic_simple_wide_line_draw() 170 clip_rect.gx_rectangle_right = (GX_VALUE)(clip_rect.gx_rectangle_left + brush_width - 1); in _gx_display_driver_generic_simple_wide_line_draw() 190 … xend, yend, brush_width, GX_FALSE); in _gx_display_driver_generic_simple_wide_line_draw()
|
| D | gx_display_driver_generic_aliased_wide_line_draw.c | 91 INT brush_width = context -> gx_draw_context_brush.gx_brush_width; in _gx_display_driver_generic_aliased_wide_line_draw() local 114 (brush_width > 2)) in _gx_display_driver_generic_aliased_wide_line_draw() 121 if (!(brush_width & 0x01)) in _gx_display_driver_generic_aliased_wide_line_draw() 138 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_aliased_wide_line_draw() 141 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_aliased_wide_line_draw() 155 clip_rect.gx_rectangle_top = (GX_VALUE)(ystart - (brush_width >> 1)); in _gx_display_driver_generic_aliased_wide_line_draw() 156 clip_rect.gx_rectangle_bottom = (GX_VALUE)(clip_rect.gx_rectangle_top + brush_width - 1); 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() 178 clip_rect.gx_rectangle_right = (GX_VALUE)(clip_rect.gx_rectangle_left + brush_width - 1); in _gx_display_driver_generic_aliased_wide_line_draw() 195 … xend, yend, brush_width, GX_TRUE); in _gx_display_driver_generic_aliased_wide_line_draw()
|
| D | gx_canvas_arc_draw.c | 90 UINT brush_width; in _gx_canvas_arc_draw() local 124 brush_width = (UINT)((brush -> gx_brush_width + 1) >> 1); in _gx_canvas_arc_draw() 126 …e_define(&bound, (GX_VALUE)((UINT)xcenter - r - brush_width), (GX_VALUE)((UINT)ycenter - r - brush… in _gx_canvas_arc_draw() 127 … (GX_VALUE)((UINT)xcenter + r + brush_width), (GX_VALUE)((UINT)ycenter + r + brush_width)); in _gx_canvas_arc_draw() 129 brush_width = (UINT)brush -> gx_brush_width; in _gx_canvas_arc_draw() 145 if (brush_width == 1) in _gx_canvas_arc_draw() 161 if (brush_width > 1) in _gx_canvas_arc_draw()
|
| D | gx_canvas_line_draw.c | 105 GX_VALUE brush_width; in _gx_canvas_line_draw() local 142 brush_width = brush -> gx_brush_width; in _gx_canvas_line_draw() 144 if (brush_width == 0) in _gx_canvas_line_draw() 150 if ((brush_width == 1) || in _gx_canvas_line_draw() 175 if (brush_width == 1) in _gx_canvas_line_draw() 203 bound.gx_rectangle_left = (GX_VALUE)(x_start - (brush_width / 2)); in _gx_canvas_line_draw() 204 bound.gx_rectangle_right = (GX_VALUE)(bound.gx_rectangle_left + brush_width - 1); in _gx_canvas_line_draw() 209 bound.gx_rectangle_top = (GX_VALUE)(y_start - (brush_width / 2)); in _gx_canvas_line_draw() 210 bound.gx_rectangle_bottom = (GX_VALUE)(bound.gx_rectangle_top + brush_width - 1); in _gx_canvas_line_draw() 216 width = (GX_VALUE)((brush_width + 1) / 2); in _gx_canvas_line_draw() [all …]
|
| D | gx_display_driver_generic_wide_circle_draw.c | 83 INT brush_width; in _gx_display_driver_generic_wide_circle_draw() local 106 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_wide_circle_draw() 108 if (r <= (UINT)((brush_width - 1) >> 1)) in _gx_display_driver_generic_wide_circle_draw() 113 ymin = ycenter - (INT)r - (brush_width >> 1); in _gx_display_driver_generic_wide_circle_draw() 114 ymax = ycenter + (INT)r + (brush_width >> 1); in _gx_display_driver_generic_wide_circle_draw() 135 y2 = ycenter - (INT)r - (brush_width >> 1); in _gx_display_driver_generic_wide_circle_draw() 136 for (y = y2; y < y2 + brush_width; y++) in _gx_display_driver_generic_wide_circle_draw() 144 y2 = ycenter + (INT)r - (INT)((brush_width - 1) >> 1); in _gx_display_driver_generic_wide_circle_draw() 145 for (y = y2; y < y2 + brush_width; y++) in _gx_display_driver_generic_wide_circle_draw() 158 r = (UINT)(r - (UINT)((brush_width - 1) >> 1)); in _gx_display_driver_generic_wide_circle_draw() [all …]
|
| D | gx_display_driver_generic_wide_arc_draw.c | 114 INT brush_width; in _gx_display_driver_generic_simple_wide_arc_draw() local 120 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_simple_wide_arc_draw() 123 if (r <= (UINT)((brush_width - 1) >> 1)) in _gx_display_driver_generic_simple_wide_arc_draw() 131 ymin = ycenter - (INT)r - (brush_width >> 1); in _gx_display_driver_generic_simple_wide_arc_draw() 132 ymax = ycenter + (INT)r + (brush_width >> 1); in _gx_display_driver_generic_simple_wide_arc_draw() 135 …_gx_utility_circle_point_get(xcenter, ycenter, r - (UINT)((brush_width - 1) >> 1), start_angle, &i… in _gx_display_driver_generic_simple_wide_arc_draw() 136 …_gx_utility_circle_point_get(xcenter, ycenter, r - (UINT)((brush_width - 1) >> 1), end_angle, &inn… in _gx_display_driver_generic_simple_wide_arc_draw() 137 …_gx_utility_circle_point_get(xcenter, ycenter, r + (UINT)(brush_width >> 1), start_angle, &outer_s… in _gx_display_driver_generic_simple_wide_arc_draw() 138 …_gx_utility_circle_point_get(xcenter, ycenter, r + (UINT)(brush_width >> 1), end_angle, &outer_end… in _gx_display_driver_generic_simple_wide_arc_draw() 206 r = (UINT)(r - (UINT)((brush_width - 1) >> 1)); in _gx_display_driver_generic_simple_wide_arc_draw() [all …]
|
| D | gx_display_driver_generic_aliased_wide_ellipse_draw.c | 104 INT brush_width; in _gx_display_driver_generic_aliased_wide_ellipse_draw() local 126 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_aliased_wide_ellipse_draw() 128 if ((a <= ((brush_width - 1) >> 1)) || in _gx_display_driver_generic_aliased_wide_ellipse_draw() 129 (b <= ((brush_width - 1) >> 1))) in _gx_display_driver_generic_aliased_wide_ellipse_draw() 134 ymin = ycenter - b - (brush_width >> 1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 135 ymax = ycenter + b + (brush_width >> 1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 161 a -= ((brush_width - 1) >> 1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 162 b -= ((brush_width - 1) >> 1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 166 a += brush_width - 1; in _gx_display_driver_generic_aliased_wide_ellipse_draw() 167 b += brush_width - 1; in _gx_display_driver_generic_aliased_wide_ellipse_draw()
|
| D | gx_display_driver_generic_aliased_wide_arc_draw.c | 120 INT brush_width; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local 138 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 149 if (r <= (UINT)((brush_width - 1) >> 1)) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 155 r = (UINT)(r - (UINT)((brush_width - 1) >> 1)); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 160 …_gx_utility_circle_point_get(xcenter, ycenter, (UINT)(r + (UINT)brush_width - 1), start_angle, &ou… in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 161 …_gx_utility_circle_point_get(xcenter, ycenter, (UINT)(r + (UINT)brush_width - 1), end_angle, &oute… in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 163 ymin = ycenter - (INT)r - brush_width + 1; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 164 ymax = ycenter + (INT)r + brush_width - 1; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 237 r += (UINT)(brush_width - 1); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 707 INT brush_width; in _gx_display_driver_generic_aliased_wide_arc_draw() local [all …]
|
| D | gx_display_driver_generic_aliased_wide_circle_draw.c | 91 INT brush_width; in _gx_display_driver_generic_aliased_wide_circle_draw() local 119 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_aliased_wide_circle_draw() 121 if (r <= (UINT)((brush_width - 1) >> 1)) in _gx_display_driver_generic_aliased_wide_circle_draw() 133 ymin = ycenter - (INT)r - (brush_width >> 1); in _gx_display_driver_generic_aliased_wide_circle_draw() 134 ymax = ycenter + (INT)r + (brush_width >> 1); in _gx_display_driver_generic_aliased_wide_circle_draw() 162 r = (UINT)(r - (UINT)((brush_width - 1) >> 1)); in _gx_display_driver_generic_aliased_wide_circle_draw() 167 r += (UINT)(brush_width - 1); in _gx_display_driver_generic_aliased_wide_circle_draw()
|
| /GUIX-v6.2.1/test/guix_test/regression_test/tests/ |
| D | validation_guix_generic_polygon_fill.c | 91 gx_context_brush_width_set(brush_width); in test_graphics_draw() 116 brush_width = 1; in control_thread_entry() 117 …t_comment, "blend_alpha = 128, brush_width = %d, pixelmap_fill = %d", brush_width, pixelmap_fill); in control_thread_entry() 121 brush_width = 4; in control_thread_entry() 122 …t_comment, "blend_alpha = 128, brush_width = %d, pixelmap_fill = %d", brush_width, pixelmap_fill); in control_thread_entry() 127 …t_comment, "blend_alpha = 128, brush_width = %d, pixelmap_fill = %d", brush_width, pixelmap_fill); in control_thread_entry() 133 …%d, pixelmap_fill = %d, set gx_display_driver_polygon_draw = GX_NULL", brush_width, pixelmap_fill); in control_thread_entry()
|
| D | validation_guix_generic_wide_ellipse_draw.c | 71 brush_width = 10; in control_thread_entry() 96 brush_width = 10; in control_thread_entry() 100 a = brush_width; in control_thread_entry() 101 b = (brush_width - 1) >> 1; in control_thread_entry() 109 brush_width = 10; in control_thread_entry() 118 xcenter, ycenter, a, b, brush_width); in control_thread_entry()
|
| D | validation_guix_graphics_arc_32bpp.c | 62 INT brush_width; member 121 brush_width = 1; in control_thread_entry() 125 brush_width = arc_props[index].brush_width; in control_thread_entry() 140 …d, brush_alpha: %d, anti_aliased: %d", radius, start_angle, end_angle, brush_width, solid_fill, pi… in control_thread_entry() 157 brush_width = 1; in control_thread_entry() 160 brush_width = 2; in control_thread_entry()
|
| D | validation_guix_graphics_ellipse_32bpp.c | 60 INT brush_width; member 112 brush_width = 1; in control_thread_entry() 116 brush_width = ellipse_props[index].brush_width; in control_thread_entry() 131 …:%d, alpha:%d, compress: %d, brush_alpha: %d, anti_aiased: %d ", a, b, brush_width, solid_fill, pi… in control_thread_entry() 147 brush_width = 1; in control_thread_entry() 173 brush_width = 2; in control_thread_entry()
|
| D | validation_guix_all_widgets_16bpp_shapes_screen_pie.c | 62 INT brush_width; member 93 extern INT brush_width; 133 brush_width = 1; in control_thread_entry() 137 brush_width = pie_props[index].brush_width; in control_thread_entry() 152 …ha:%d, compress: %d, brush_alpha: %d", radius, start_angle, end_angle, brush_width, solid_fill, pi… in control_thread_entry()
|
| D | validation_guix_all_widgets_4444argb_shapes_screen_arc.c | 62 INT brush_width; member 89 extern INT brush_width; 125 brush_width = 1; in control_thread_entry() 129 brush_width = arc_props[index].brush_width; in control_thread_entry() 142 …ha:%d, compress: %d, brush_alpha: %d", radius, start_angle, end_angle, brush_width, solid_fill, pi… in control_thread_entry()
|
| D | validation_guix_all_widgets_16bpp_shapes_screen_pie copy.c | 62 INT brush_width; member 93 extern INT brush_width; 133 brush_width = 1; in control_thread_entry() 137 brush_width = pie_props[index].brush_width; in control_thread_entry() 152 …ha:%d, compress: %d, brush_alpha: %d", radius, start_angle, end_angle, brush_width, solid_fill, pi… in control_thread_entry()
|
| D | validation_guix_generic_wide_arc_draw.c | 71 brush_width = 3; in control_thread_entry() 92 brush_width = 1; in control_thread_entry() 113 brush_width = 3; in control_thread_entry() 125 brush_width = 20; in control_thread_entry() 135 …anti_aliased, brush_width, radius, start_angle, end_angle, pixelmap_fill, (int)pixelmap_id[pixelma… in control_thread_entry()
|
| D | validation_guix_graphics_polygon_32bpp.c | 84 for(brush_width = 0; brush_width <= 20; brush_width+= 9) in control_thread_entry() 93 …ush width: %d", brush_alpha, anti_aliased, solid_fill, pixelmap_fill, pixelmap_index, brush_width); in control_thread_entry() 111 …lmap fill: %d brush width: %d", brush_alpha, anti_aliased, solid_fill, pixelmap_fill, brush_width); in control_thread_entry()
|
| D | validation_guix_graphics_pie_32bpp.c | 62 INT brush_width; member 117 brush_width = 1; in control_thread_entry() 121 brush_width = pie_props[index].brush_width; in control_thread_entry() 136 …ha:%d, compress: %d, brush_alpha: %d", radius, start_angle, end_angle, brush_width, solid_fill, pi… in control_thread_entry()
|
| D | validation_guix_generic_aliased_wide_ellipse_draw.c | 73 brush_width = 10; in control_thread_entry() 83 sprintf(test_comment, "brush_width = %d, a = %d, b = %d", brush_width, a, b); in control_thread_entry() 89 sprintf(test_comment, "brush_width = %d, a = %d, b = %d", brush_width, a, b); in control_thread_entry() 95 …t, "brush_width = %d, a = %d, b = %d, set gx_display_driver_ellipse_fill NULL", brush_width, a, b); in control_thread_entry()
|