/GUIX-v6.4.1/common/src/ |
D | gx_canvas_rectangle_draw.c | 75 static UINT _gx_canvas_rectangle_fill(GX_RECTANGLE *rectangle, GX_COLOR fill_color) in _gx_canvas_rectangle_fill() argument 88 if (!_gx_utility_rectangle_overlap_detect(rectangle, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_rectangle_fill() 172 UINT _gx_canvas_rectangle_draw(GX_RECTANGLE *rectangle) in _gx_canvas_rectangle_draw() argument 187 if (!_gx_utility_rectangle_overlap_detect(rectangle, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_rectangle_draw() 201 fill_rect = *rectangle; in _gx_canvas_rectangle_draw() 212 _gx_canvas_line_draw(rectangle -> gx_rectangle_left, in _gx_canvas_rectangle_draw() 213 (GX_VALUE)(rectangle -> gx_rectangle_top + 1), in _gx_canvas_rectangle_draw() 214 rectangle -> gx_rectangle_left, in _gx_canvas_rectangle_draw() 215 (GX_VALUE)(rectangle -> gx_rectangle_bottom - 1)); in _gx_canvas_rectangle_draw() 217 _gx_canvas_line_draw(rectangle -> gx_rectangle_right, in _gx_canvas_rectangle_draw() [all …]
|
D | gx_utility_rectangle_center.c | 71 UINT _gx_utility_rectangle_center(GX_RECTANGLE *rectangle, GX_RECTANGLE *within) in _gx_utility_rectangle_center() argument 81 ((rectangle -> gx_rectangle_right - in _gx_utility_rectangle_center() 82 rectangle -> gx_rectangle_left) + 1)) / 2; in _gx_utility_rectangle_center() 86 ((rectangle -> gx_rectangle_bottom - in _gx_utility_rectangle_center() 87 rectangle -> gx_rectangle_top) + 1)) / 2; in _gx_utility_rectangle_center() 89 x_delta = within -> gx_rectangle_left + x_space - rectangle -> gx_rectangle_left; in _gx_utility_rectangle_center() 90 y_delta = within -> gx_rectangle_top + y_space - rectangle -> gx_rectangle_top; in _gx_utility_rectangle_center() 92 rectangle -> gx_rectangle_left = (GX_VALUE)(rectangle -> gx_rectangle_left + x_delta); in _gx_utility_rectangle_center() 93 rectangle -> gx_rectangle_top = (GX_VALUE)(rectangle -> gx_rectangle_top + y_delta); in _gx_utility_rectangle_center() 94 rectangle -> gx_rectangle_right = (GX_VALUE)(rectangle -> gx_rectangle_right + x_delta); in _gx_utility_rectangle_center() [all …]
|
D | gx_utility_rectangle_resize.c | 71 UINT _gx_utility_rectangle_resize(GX_RECTANGLE *rectangle, GX_VALUE adjust) in _gx_utility_rectangle_resize() argument 73 rectangle -> gx_rectangle_left = (GX_VALUE)(rectangle -> gx_rectangle_left - adjust); in _gx_utility_rectangle_resize() 74 rectangle -> gx_rectangle_top = (GX_VALUE)(rectangle -> gx_rectangle_top - adjust); in _gx_utility_rectangle_resize() 75 rectangle -> gx_rectangle_right = (GX_VALUE)(rectangle -> gx_rectangle_right + adjust); in _gx_utility_rectangle_resize() 76 rectangle -> gx_rectangle_bottom = (GX_VALUE)(rectangle -> gx_rectangle_bottom + adjust); in _gx_utility_rectangle_resize()
|
D | gx_utility_rectangle_shift.c | 74 UINT _gx_utility_rectangle_shift(GX_RECTANGLE *rectangle, GX_VALUE x_shift, GX_VALUE y_shift) in _gx_utility_rectangle_shift() argument 76 rectangle -> gx_rectangle_left = (GX_VALUE)(rectangle -> gx_rectangle_left + x_shift); in _gx_utility_rectangle_shift() 77 rectangle -> gx_rectangle_top = (GX_VALUE)(rectangle -> gx_rectangle_top + y_shift); in _gx_utility_rectangle_shift() 78 rectangle -> gx_rectangle_right = (GX_VALUE)(rectangle -> gx_rectangle_right + x_shift); in _gx_utility_rectangle_shift() 79 rectangle -> gx_rectangle_bottom = (GX_VALUE)(rectangle -> gx_rectangle_bottom + y_shift); in _gx_utility_rectangle_shift()
|
D | gxe_utility_rectangle_center_find.c | 74 UINT _gxe_utility_rectangle_center_find(GX_RECTANGLE *rectangle, in _gxe_utility_rectangle_center_find() argument 78 if ((rectangle == GX_NULL) || (return_center == GX_NULL)) in _gxe_utility_rectangle_center_find() 84 if ((rectangle -> gx_rectangle_left > rectangle -> gx_rectangle_right) || in _gxe_utility_rectangle_center_find() 85 (rectangle -> gx_rectangle_top > rectangle -> gx_rectangle_bottom)) in _gxe_utility_rectangle_center_find() 91 return(_gx_utility_rectangle_center_find(rectangle, return_center)); in _gxe_utility_rectangle_center_find()
|
D | gxe_utility_rectangle_point_detect.c | 71 GX_BOOL _gxe_utility_rectangle_point_detect(GX_RECTANGLE *rectangle, GX_POINT point) in _gxe_utility_rectangle_point_detect() argument 76 if (rectangle == GX_NULL) in _gxe_utility_rectangle_point_detect() 82 if ((rectangle -> gx_rectangle_left > rectangle -> gx_rectangle_right) || in _gxe_utility_rectangle_point_detect() 83 (rectangle -> gx_rectangle_top > rectangle -> gx_rectangle_bottom)) in _gxe_utility_rectangle_point_detect() 89 status = _gx_utility_rectangle_point_detect(rectangle, point); in _gxe_utility_rectangle_point_detect()
|
D | gxe_utility_rectangle_center.c | 73 UINT _gxe_utility_rectangle_center(GX_RECTANGLE *rectangle, GX_RECTANGLE *within) in _gxe_utility_rectangle_center() argument 76 if ((rectangle == GX_NULL) || (within == GX_NULL)) in _gxe_utility_rectangle_center() 82 if ((rectangle -> gx_rectangle_left > rectangle -> gx_rectangle_right) || in _gxe_utility_rectangle_center() 83 (rectangle -> gx_rectangle_top > rectangle -> gx_rectangle_bottom) || in _gxe_utility_rectangle_center() 91 return(_gx_utility_rectangle_center(rectangle, within)); in _gxe_utility_rectangle_center()
|
D | gx_utility_rectangle_center_find.c | 72 UINT _gx_utility_rectangle_center_find(GX_RECTANGLE *rectangle, in _gx_utility_rectangle_center_find() argument 76 (GX_VALUE)(rectangle -> gx_rectangle_left + rectangle -> gx_rectangle_right) / 2; in _gx_utility_rectangle_center_find() 78 (GX_VALUE)(rectangle -> gx_rectangle_top + rectangle -> gx_rectangle_bottom) / 2; in _gx_utility_rectangle_center_find()
|
D | gx_utility_rectangle_point_detect.c | 73 GX_BOOL _gx_utility_rectangle_point_detect(GX_RECTANGLE *rectangle, GX_POINT point) in _gx_utility_rectangle_point_detect() argument 75 if (rectangle -> gx_rectangle_left <= point.gx_point_x && in _gx_utility_rectangle_point_detect() 76 rectangle -> gx_rectangle_right >= point.gx_point_x && in _gx_utility_rectangle_point_detect() 77 rectangle -> gx_rectangle_top <= point.gx_point_y && in _gx_utility_rectangle_point_detect() 78 rectangle -> gx_rectangle_bottom >= point.gx_point_y) in _gx_utility_rectangle_point_detect()
|
D | gx_utility_rectangle_define.c | 74 UINT _gx_utility_rectangle_define(GX_RECTANGLE *rectangle, GX_VALUE left, in _gx_utility_rectangle_define() argument 78 rectangle -> gx_rectangle_left = left; in _gx_utility_rectangle_define() 79 rectangle -> gx_rectangle_top = top; in _gx_utility_rectangle_define() 80 rectangle -> gx_rectangle_right = right; in _gx_utility_rectangle_define() 81 rectangle -> gx_rectangle_bottom = bottom; in _gx_utility_rectangle_define()
|
D | gx_canvas_text_draw.c | 333 UINT _gx_canvas_aligned_text_draw(GX_CONST GX_STRING *string, GX_RECTANGLE *rectangle, ULONG align… in _gx_canvas_aligned_text_draw() argument 352 rect_width = (GX_VALUE)(rectangle -> gx_rectangle_right - rectangle -> gx_rectangle_left + 1); in _gx_canvas_aligned_text_draw() 353 rect_height = (GX_VALUE)(rectangle -> gx_rectangle_bottom - rectangle -> gx_rectangle_top + 1); in _gx_canvas_aligned_text_draw() 355 x_pos = rectangle -> gx_rectangle_left; in _gx_canvas_aligned_text_draw() 356 y_pos = rectangle -> gx_rectangle_top; in _gx_canvas_aligned_text_draw()
|
D | gxe_utility_rectangle_resize.c | 72 UINT _gxe_utility_rectangle_resize(GX_RECTANGLE *rectangle, GX_VALUE adjust) in _gxe_utility_rectangle_resize() argument 75 if (rectangle == GX_NULL) in _gxe_utility_rectangle_resize() 81 return(_gx_utility_rectangle_resize(rectangle, adjust)); in _gxe_utility_rectangle_resize()
|
D | gxe_utility_rectangle_shift.c | 74 UINT _gxe_utility_rectangle_shift(GX_RECTANGLE *rectangle, GX_VALUE x_shift, GX_VALUE y_shift) in _gxe_utility_rectangle_shift() argument 77 if (rectangle == GX_NULL) in _gxe_utility_rectangle_shift() 83 return(_gx_utility_rectangle_shift(rectangle, x_shift, y_shift)); in _gxe_utility_rectangle_shift()
|
D | gxe_canvas_rectangle_draw.c | 72 UINT _gxe_canvas_rectangle_draw(GX_RECTANGLE *rectangle) in _gxe_canvas_rectangle_draw() argument 80 if (rectangle == GX_NULL) in _gxe_canvas_rectangle_draw() 90 status = _gx_canvas_rectangle_draw(rectangle); in _gxe_canvas_rectangle_draw()
|
D | gxe_utility_rectangle_define.c | 75 UINT _gxe_utility_rectangle_define(GX_RECTANGLE *rectangle, GX_VALUE left, in _gxe_utility_rectangle_define() argument 80 if (rectangle == GX_NULL) in _gxe_utility_rectangle_define() 86 return (_gx_utility_rectangle_define(rectangle, left, top, right, bottom)); in _gxe_utility_rectangle_define()
|
D | gx_radial_slider_needle_rectangle_calculate.c | 77 UINT _gx_radial_slider_needle_rectangle_calculate(GX_RADIAL_SLIDER *slider, GX_RECTANGLE *rectangle) in _gx_radial_slider_needle_rectangle_calculate() argument 106 _gx_utility_rectangle_define(rectangle, (GX_VALUE)xpos, (GX_VALUE)ypos, in _gx_radial_slider_needle_rectangle_calculate() 112 _gx_utility_rectangle_define(rectangle, 0, 0, 0, 0); in _gx_radial_slider_needle_rectangle_calculate()
|
D | gxe_canvas_text_draw.c | 222 UINT _gxe_canvas_aligned_text_draw(GX_CONST GX_STRING *string, GX_RECTANGLE *rectangle, ULONG align… in _gxe_canvas_aligned_text_draw() argument 231 if ((string == GX_NULL) || (rectangle == GX_NULL) || (string -> gx_string_ptr == GX_NULL)) in _gxe_canvas_aligned_text_draw() 254 status = _gx_canvas_aligned_text_draw(string, rectangle, alignment); in _gxe_canvas_aligned_text_draw()
|
D | gx_radial_slider_event_process.c | 91 GX_RECTANGLE rectangle; in _gx_radial_slider_pen_down_event_process() local 102 _gx_radial_slider_needle_rectangle_calculate(slider, &rectangle); in _gx_radial_slider_pen_down_event_process() 105 if (_gx_utility_rectangle_point_detect(&rectangle, *point)) in _gx_radial_slider_pen_down_event_process()
|
/GUIX-v6.4.1/common/inc/ |
D | gx_utility.h | 300 UINT _gx_utility_rectangle_center(GX_RECTANGLE *rectangle, GX_RECTANGLE *within); 301 UINT _gx_utility_rectangle_center_find(GX_RECTANGLE *rectangle, GX_POINT *return_center); 304 UINT _gx_utility_rectangle_define(GX_RECTANGLE *rectangle, GX_VALUE left, GX_VALUE top, GX_… 307 GX_BOOL _gx_utility_rectangle_point_detect(GX_RECTANGLE *rectangle, GX_POINT point); 308 UINT _gx_utility_rectangle_resize(GX_RECTANGLE *rectangle, GX_VALUE adjust); 309 UINT _gx_utility_rectangle_shift(GX_RECTANGLE *rectangle, GX_VALUE x_shift, GX_VALUE y_shif… 352 UINT _gxe_utility_rectangle_center(GX_RECTANGLE *rectangle, GX_RECTANGLE *within); 353 UINT _gxe_utility_rectangle_center_find(GX_RECTANGLE *rectangle, GX_POINT *return_center); 356 UINT _gxe_utility_rectangle_define(GX_RECTANGLE *rectangle, GX_VALUE left, GX_VALUE top, GX_VALU… 357 UINT _gxe_utility_rectangle_resize(GX_RECTANGLE *rectangle, GX_VALUE adjust); [all …]
|
D | gx_canvas.h | 104 UINT _gx_canvas_rectangle_draw(GX_RECTANGLE *rectangle); 112 UINT _gx_canvas_aligned_text_draw(GX_CONST GX_STRING *string, GX_RECTANGLE *rectangle, ULONG alignm… 152 UINT _gxe_canvas_rectangle_draw(GX_RECTANGLE *rectangle); 159 UINT _gxe_canvas_aligned_text_draw(GX_CONST GX_STRING *string, GX_RECTANGLE *rectangle, ULONG align…
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_all_widgets_16bpp_rotated_polygon_fill.c | 63 GX_POINT rectangle[4] = { { 188, 50 },{ 254, 50 },{ 254, 150 },{ 188, 150 } }; in test_invalid_graphics_draw() local 74 gx_canvas_polygon_draw(rectangle, 4); in test_invalid_graphics_draw() 78 gx_canvas_polygon_draw(rectangle, 4); in test_invalid_graphics_draw()
|
D | validation_guix_generic_polygon_fill.c | 63 GX_POINT rectangle[4] = {{18, 50}, {84, 50}, {84, 150}, {18, 150}}; in test_graphics_draw() local 93 gx_canvas_polygon_draw(rectangle, 4); in test_graphics_draw()
|
/GUIX-v6.4.1/test/example_internal/polygon_16bpp/ |
D | demo_guix_polygon_16bpp.c | 196 GX_POINT rectangle[4] = {{188, 50}, {254, 50}, {254, 150}, {188, 150}}; in polygon_draw() local 229 gx_canvas_polygon_draw(rectangle, 4); in polygon_draw()
|
/GUIX-v6.4.1/test/example_internal/polygon_32bpp/ |
D | demo_guix_polygon_32bpp.c | 188 GX_POINT rectangle[4] = {{188, 50}, {254, 50}, {254, 150}, {188, 150}}; in polygon_draw() local 221 gx_canvas_polygon_draw(rectangle, 4); in polygon_draw()
|
/GUIX-v6.4.1/test/example_internal/graphics_565rgb_synergy/ |
D | demo_guix_graphics_565rgb_synergy.c | 227 GX_POINT rectangle[4] = {{188, 50}, {254, 50}, {254, 150}, {188, 150}}; in graphics_draw() local 275 gx_canvas_polygon_draw(rectangle, 4); in graphics_draw()
|