/GUIX-v6.2.1/common/src/ |
D | gx_brush_default.c | 69 UINT _gx_brush_default(GX_BRUSH *brush) in _gx_brush_default() argument 73 brush -> gx_brush_pixelmap = GX_NULL; in _gx_brush_default() 74 brush -> gx_brush_fill_color = 0; in _gx_brush_default() 75 brush -> gx_brush_font = GX_NULL; in _gx_brush_default() 76 brush -> gx_brush_line_color = 0; in _gx_brush_default() 77 brush -> gx_brush_line_pattern = 0; in _gx_brush_default() 78 brush -> gx_brush_pattern_mask = 0; in _gx_brush_default() 79 brush -> gx_brush_style = 0; in _gx_brush_default() 80 brush -> gx_brush_width = 1; in _gx_brush_default() 81 brush -> gx_brush_alpha = 0xff; in _gx_brush_default()
|
D | gx_display_driver_generic_aliased_wide_arc_draw.c | 90 GX_BRUSH *brush; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local 137 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 138 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 262 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 271 …blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, (GX_UBYTE)al… in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 282 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 324 …blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, (GX_UBYTE)al… in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 423 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 649 brush -> gx_brush_line_color); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 706 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_wide_arc_draw() local [all …]
|
D | gx_display_driver_generic_wide_arc_draw.c | 85 GX_BRUSH *brush; in _gx_display_driver_generic_simple_wide_arc_draw() local 119 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_simple_wide_arc_draw() 120 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_simple_wide_arc_draw() 460 brush -> gx_brush_line_color); in _gx_display_driver_generic_simple_wide_arc_draw() 513 GX_BRUSH *brush; in _gx_display_driver_generic_wide_arc_draw() local 581 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_wide_arc_draw() 582 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_wide_arc_draw() 583 old_fill = brush -> gx_brush_fill_color; in _gx_display_driver_generic_wide_arc_draw() 584 old_style = brush -> gx_brush_style; in _gx_display_driver_generic_wide_arc_draw() 586 brush -> gx_brush_width = 1; in _gx_display_driver_generic_wide_arc_draw() [all …]
|
D | gx_canvas_line_draw.c | 101 GX_BRUSH *brush; in _gx_canvas_line_draw() local 141 brush = &context -> gx_draw_context_brush; in _gx_canvas_line_draw() 142 brush_width = brush -> gx_brush_width; in _gx_canvas_line_draw() 151 ((brush -> gx_brush_style & GX_BRUSH_ROUND) == 0)) in _gx_canvas_line_draw() 171 if (brush -> gx_brush_style & GX_BRUSH_ALIAS) in _gx_canvas_line_draw() 198 if(!brush -> gx_brush_line_pattern) in _gx_canvas_line_draw() 257 if (brush -> gx_brush_line_pattern) in _gx_canvas_line_draw() 292 brush -> gx_brush_line_color); in _gx_canvas_line_draw() 297 if (brush -> gx_brush_line_pattern) in _gx_canvas_line_draw() 332 brush -> gx_brush_line_color); in _gx_canvas_line_draw()
|
D | gx_canvas_ellipse_draw.c | 86 GX_BRUSH *brush; in _gx_canvas_ellipse_draw() local 93 brush = &context -> gx_draw_context_brush; in _gx_canvas_ellipse_draw() 95 brush_width = (brush -> gx_brush_width + 1) >> 1; in _gx_canvas_ellipse_draw() 101 brush_width = brush -> gx_brush_width; in _gx_canvas_ellipse_draw() 120 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_ellipse_draw() 135 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_ellipse_draw() 163 if ((brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL)) && in _gx_canvas_ellipse_draw()
|
D | gx_canvas_circle_draw.c | 85 GX_BRUSH *brush; in _gx_canvas_circle_draw() local 92 brush = &context -> gx_draw_context_brush; in _gx_canvas_circle_draw() 94 brush_width = (brush -> gx_brush_width + 1) >> 1; in _gx_canvas_circle_draw() 99 brush_width = brush -> gx_brush_width; in _gx_canvas_circle_draw() 118 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_circle_draw() 134 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_circle_draw() 163 if (brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL)) in _gx_canvas_circle_draw()
|
D | gx_brush_define.c | 75 UINT _gx_brush_define(GX_BRUSH *brush, GX_COLOR line_color, GX_COLOR fill_color, UINT style) in _gx_brush_define() argument 78 brush -> gx_brush_fill_color = fill_color; in _gx_brush_define() 79 brush -> gx_brush_line_color = line_color; in _gx_brush_define() 80 brush -> gx_brush_style = style; in _gx_brush_define() 81 brush -> gx_brush_line_pattern = 0; in _gx_brush_define()
|
D | gx_canvas_arc_draw.c | 89 GX_BRUSH *brush; in _gx_canvas_arc_draw() local 122 brush = &context -> gx_draw_context_brush; in _gx_canvas_arc_draw() 124 brush_width = (UINT)((brush -> gx_brush_width + 1) >> 1); in _gx_canvas_arc_draw() 129 brush_width = (UINT)brush -> gx_brush_width; in _gx_canvas_arc_draw() 148 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_arc_draw() 164 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_arc_draw() 193 if (brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL)) in _gx_canvas_arc_draw()
|
D | gx_widget_text_blend.c | 169 GX_BRUSH *brush; in _gx_widget_text_blend_ext() local 176 _gx_context_brush_get(&brush); in _gx_widget_text_blend_ext() 178 if (!brush -> gx_brush_font) in _gx_widget_text_blend_ext() 182 brush -> gx_brush_alpha = alpha; in _gx_widget_text_blend_ext() 184 text_height = brush -> gx_brush_font -> gx_font_line_height; in _gx_widget_text_blend_ext() 196 _gx_system_string_width_get_ext(brush -> gx_brush_font, string, &text_width); in _gx_widget_text_blend_ext() 208 _gx_system_string_width_get_ext(brush -> gx_brush_font, string, &text_width); in _gx_widget_text_blend_ext()
|
D | gx_canvas_pie_draw.c | 98 GX_BRUSH *brush; in _gx_canvas_pie_draw() local 134 brush = &context -> gx_draw_context_brush; in _gx_canvas_pie_draw() 136 brush_width = ((INT)(brush -> gx_brush_width + 1)) >> 1; in _gx_canvas_pie_draw() 142 brush_width = brush -> gx_brush_width; in _gx_canvas_pie_draw() 162 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_pie_draw() 178 if ((brush -> gx_brush_style & GX_BRUSH_ALIAS) && in _gx_canvas_pie_draw() 213 if ((brush -> gx_brush_style & (GX_BRUSH_SOLID_FILL | GX_BRUSH_PIXELMAP_FILL)) && in _gx_canvas_pie_draw() 221 if (brush -> gx_brush_width > 1) in _gx_canvas_pie_draw()
|
D | gx_radial_progress_bar_background_draw.c | 88 GX_BRUSH *brush; in _gx_radial_progress_bar_background_draw() local 103 _gx_context_brush_get(&brush); in _gx_radial_progress_bar_background_draw() 106 brush_alpha = brush -> gx_brush_alpha; in _gx_radial_progress_bar_background_draw() 167 _gx_context_brush_get(&brush); in _gx_radial_progress_bar_background_draw() 187 brush -> gx_brush_style &= (ULONG)(~GX_BRUSH_SOLID_FILL); in _gx_radial_progress_bar_background_draw() 191 brush -> gx_brush_style |= GX_BRUSH_ALIAS; in _gx_radial_progress_bar_background_draw() 196 brush -> gx_brush_style |= GX_BRUSH_ROUND; in _gx_radial_progress_bar_background_draw() 210 brush -> gx_brush_width = info -> gx_radial_progress_bar_info_selected_brush_width; in _gx_radial_progress_bar_background_draw()
|
D | gx_widget_text_draw.c | 166 GX_BRUSH *brush; in _gx_widget_text_draw_ext() local 173 _gx_context_brush_get(&brush); in _gx_widget_text_draw_ext() 175 if (!brush -> gx_brush_font) in _gx_widget_text_draw_ext() 180 text_height = brush -> gx_brush_font -> gx_font_line_height; in _gx_widget_text_draw_ext() 192 _gx_system_string_width_get_ext(brush -> gx_brush_font, string, &text_width); in _gx_widget_text_draw_ext() 204 _gx_system_string_width_get_ext(brush -> gx_brush_font, string, &text_width); in _gx_widget_text_draw_ext()
|
D | gx_display_driver_generic_aliased_wide_circle_draw.c | 90 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_wide_circle_draw() local 118 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_aliased_wide_circle_draw() 119 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_aliased_wide_circle_draw() 199 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_wide_circle_draw() 207 …blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, (GX_UBYTE)al… in _gx_display_driver_generic_aliased_wide_circle_draw() 216 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_wide_circle_draw() 224 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_wide_circle_draw() 262 …blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, (GX_UBYTE)(2… in _gx_display_driver_generic_aliased_wide_circle_draw() 292 brush -> gx_brush_line_color); in _gx_display_driver_generic_aliased_wide_circle_draw()
|
D | gx_display_driver_generic_aliased_circle_draw.c | 84 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_circle_draw() local 111 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_aliased_circle_draw() 140 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_circle_draw() 147 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_circle_draw() 155 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_circle_draw() 162 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_circle_draw() 190 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_circle_draw()
|
D | gx_display_driver_generic_aliased_wide_ellipse_draw.c | 88 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_wide_ellipse_draw() local 125 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_aliased_wide_ellipse_draw() 126 brush_width = brush -> gx_brush_width; in _gx_display_driver_generic_aliased_wide_ellipse_draw() 204 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 212 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 253 …blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, (GX_UBYTE)(2… in _gx_display_driver_generic_aliased_wide_ellipse_draw() 301 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 309 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_wide_ellipse_draw() 341 brush -> gx_brush_line_color); in _gx_display_driver_generic_aliased_wide_ellipse_draw()
|
D | gx_display_driver_generic_circle_draw.c | 93 GX_BRUSH *brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_circle_draw() local 96 GX_UBYTE brush_alpha = brush -> gx_brush_alpha; in _gx_display_driver_generic_circle_draw() 129 …x_display_driver_pixel_blend(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_c… in _gx_display_driver_generic_circle_draw() 137 …x_display_driver_pixel_blend(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_c… in _gx_display_driver_generic_circle_draw() 165 …x_display_driver_pixel_write(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_c… in _gx_display_driver_generic_circle_draw() 173 …x_display_driver_pixel_write(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_c… in _gx_display_driver_generic_circle_draw()
|
D | gx_display_driver_generic_aliased_filled_circle_draw.c | 86 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_filled_circle_draw() local 118 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_aliased_filled_circle_draw() 181 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_filled_circle_draw() 204 …y -> gx_display_driver_horizontal_line_draw(context, xstart, xend, yi, 1, brush -> gx_brush_line_c… in _gx_display_driver_generic_aliased_filled_circle_draw() 212 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_filled_circle_draw() 267 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_filled_circle_draw() 288 …y_driver_horizontal_line_draw(context, xstart, xend, point.gx_point_y, 1, brush -> gx_brush_line_c… in _gx_display_driver_generic_aliased_filled_circle_draw() 294 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_filled_circle_draw()
|
D | gx_display_driver_generic_aliased_ellipse_draw.c | 83 GX_BRUSH *brush; in _gx_display_driver_generic_aliased_ellipse_draw() local 113 brush = &context -> gx_draw_context_brush; in _gx_display_driver_generic_aliased_ellipse_draw() 157 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_ellipse_draw() 164 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_ellipse_draw() 190 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_ellipse_draw() 222 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha1); in _gx_display_driver_generic_aliased_ellipse_draw() 229 … blend_func(context, point.gx_point_x, point.gx_point_y, brush -> gx_brush_line_color, alpha2); in _gx_display_driver_generic_aliased_ellipse_draw()
|
D | gx_text_scroll_wheel_draw.c | 104 GX_BRUSH *brush; in _gx_text_scroll_wheel_round_text_draw() local 111 _gx_context_brush_get(&brush); in _gx_text_scroll_wheel_round_text_draw() 113 if (!brush -> gx_brush_font) in _gx_text_scroll_wheel_round_text_draw() 118 text_height = brush -> gx_brush_font -> gx_font_line_height; in _gx_text_scroll_wheel_round_text_draw() 127 _gx_system_string_width_get_ext(brush -> gx_brush_font, string, &text_width); in _gx_text_scroll_wheel_round_text_draw() 152 status = _gx_utility_string_to_alphamap_ext(string, brush -> gx_brush_font, &textmap); in _gx_text_scroll_wheel_round_text_draw() 160 old_fill_color = brush -> gx_brush_fill_color; in _gx_text_scroll_wheel_round_text_draw() 166 brush -> gx_brush_fill_color = old_fill_color; in _gx_text_scroll_wheel_round_text_draw() 238 GX_BRUSH *brush; in _gx_text_scroll_wheel_flat_text_draw() local 242 _gx_context_brush_get(&brush); in _gx_text_scroll_wheel_flat_text_draw() [all …]
|
/GUIX-v6.2.1/test/guix_test/regression_test/tests/ |
D | validation_guix_all_widgets_16bpp_rotated_pixelmap_draw.c | 104 GX_BRUSH *brush; in pixelmap_window_draw() local 110 gx_context_brush_get(&brush); in pixelmap_window_draw() 112 brush->gx_brush_style |= GX_BRUSH_SOLID_FILL; in pixelmap_window_draw() 113 brush->gx_brush_alpha = test_brush_alpha; in pixelmap_window_draw() 162 GX_BRUSH *brush; in pixelmap_window_invalid_map_draw() local 164 gx_context_brush_get(&brush); in pixelmap_window_invalid_map_draw() 165 brush->gx_brush_alpha = 255; in pixelmap_window_invalid_map_draw() 181 brush->gx_brush_alpha = 128; in pixelmap_window_invalid_map_draw() 200 GX_BRUSH *brush; in pixelmap_window_invalid_alphamap_draw() local 202 gx_context_brush_get(&brush); in pixelmap_window_invalid_alphamap_draw() [all …]
|
D | validation_guix_text_scroll_wheel_draw_with_alpha.c | 62 GX_BRUSH* brush; in test_numeric_wheel_draw() local 64 gx_context_brush_get(&brush); in test_numeric_wheel_draw() 65 brush->gx_brush_alpha = 100; in test_numeric_wheel_draw() 71 GX_BRUSH* brush; in test_string_wheel_draw() local 73 gx_context_brush_get(&brush); in test_string_wheel_draw() 74 brush->gx_brush_alpha = 100; in test_string_wheel_draw()
|
D | validation_guix_8bpp_simple_line_draw.c | 66 GX_BRUSH *brush; in test_line_win_draw() local 72 gx_context_brush_get(&brush); in test_line_win_draw() 73 brush->gx_brush_alpha = brush_alpha; in test_line_win_draw() 99 if(brush->gx_brush_line_color != 0) in test_line_win_draw() 103 brush->gx_brush_line_color = 1; in test_line_win_draw() 107 if(brush->gx_brush_line_color != 0) in test_line_win_draw()
|
D | validation_guix_all_widgets_8bpp_rotated_cw_pixelmap_draw.c | 84 GX_BRUSH *brush; in pixelmap_window_draw() local 90 gx_context_brush_get(&brush); in pixelmap_window_draw() 92 brush->gx_brush_style |= GX_BRUSH_SOLID_FILL; in pixelmap_window_draw() 131 GX_BRUSH *brush; in pixelmap_window_invalid_map_draw() local 133 gx_context_brush_get(&brush); in pixelmap_window_invalid_map_draw() 134 brush->gx_brush_alpha = 255; in pixelmap_window_invalid_map_draw() 145 brush->gx_brush_alpha = 128; in pixelmap_window_invalid_map_draw()
|
D | validation_guix_all_widgets_16bpp_rotated_pie_fill.c | 92 GX_BRUSH *brush; in test_graphics_draw() local 96 gx_context_brush_get(&brush); in test_graphics_draw() 97 brush->gx_brush_alpha = test_brush_alpha; in test_graphics_draw() 115 GX_BRUSH *brush; in test_invalid_graphics_draw() local 119 gx_context_brush_get(&brush); in test_invalid_graphics_draw() 120 brush->gx_brush_alpha = 255; in test_invalid_graphics_draw()
|
D | validation_guix_all_widgets_24xrgb_rotated_cw_pixelmap_draw.c | 108 GX_BRUSH *brush; in pixelmap_window_draw() local 114 gx_context_brush_get(&brush); in pixelmap_window_draw() 116 brush->gx_brush_style |= GX_BRUSH_SOLID_FILL; in pixelmap_window_draw() 117 brush->gx_brush_alpha = test_brush_alpha; in pixelmap_window_draw() 156 GX_BRUSH *brush; in pixelmap_window_invalid_map_draw() local 159 gx_context_brush_get(&brush); in pixelmap_window_invalid_map_draw() 160 brush->gx_brush_alpha = 255; in pixelmap_window_invalid_map_draw() 177 brush->gx_brush_alpha = 128; in pixelmap_window_invalid_map_draw()
|