Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 11 of 11) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_canvas_line_draw.c99 GX_RECTANGLE bound; in _gx_canvas_line_draw() local
117 _gx_utility_rectangle_define(&bound, x_start, y_end, x_end, y_start); in _gx_canvas_line_draw()
122 _gx_utility_rectangle_define(&bound, x_start, y_start, x_end, y_end); in _gx_canvas_line_draw()
130 _gx_utility_rectangle_define(&bound, x_end, y_end, x_start, y_start); in _gx_canvas_line_draw()
135 _gx_utility_rectangle_define(&bound, x_end, y_start, x_start, y_end); 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()
224 bound.gx_rectangle_top = (GX_VALUE)(bound.gx_rectangle_top - width); in _gx_canvas_line_draw()
[all …]
Dgx_canvas_pixelmap_blend.c88 GX_RECTANGLE bound; in _gx_canvas_pixelmap_blend() local
102 _gx_utility_rectangle_define(&bound, x_position, y_position, in _gx_canvas_pixelmap_blend()
107 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_pixelmap_blend()
142 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_pixelmap_blend()
Dgx_canvas_pixelmap_draw.c100 GX_RECTANGLE bound; in _gx_canvas_pixelmap_draw() local
111 _gx_utility_rectangle_define(&bound, x_position, y_position, in _gx_canvas_pixelmap_draw()
116 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_pixelmap_draw()
168 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_pixelmap_draw()
Dgx_canvas_rectangle_draw.c80 GX_RECTANGLE bound; in _gx_canvas_rectangle_fill() local
88 if (!_gx_utility_rectangle_overlap_detect(rectangle, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_rectangle_fill()
105 if (_gx_utility_rectangle_overlap_detect(&bound, &view -> gx_view_rectangle, &fill_rect)) in _gx_canvas_rectangle_fill()
177 GX_RECTANGLE bound; in _gx_canvas_rectangle_draw() local
187 if (!_gx_utility_rectangle_overlap_detect(rectangle, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_rectangle_draw()
270 … if (!_gx_utility_rectangle_overlap_detect(&fill_rect, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_rectangle_draw()
292 if (_gx_utility_rectangle_overlap_detect(&bound, &view -> gx_view_rectangle, &fill_rect)) in _gx_canvas_rectangle_draw()
Dgx_canvas_ellipse_draw.c83 GX_RECTANGLE bound; in _gx_canvas_ellipse_draw() local
98 …_gx_utility_rectangle_define(&bound, (GX_VALUE)(xcenter - a - brush_width), (GX_VALUE)(ycenter - b… in _gx_canvas_ellipse_draw()
104 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_ellipse_draw()
154 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_ellipse_draw()
Dgx_canvas_circle_draw.c82 GX_RECTANGLE bound; in _gx_canvas_circle_draw() local
96 …_gx_utility_rectangle_define(&bound, (GX_VALUE)(xcenter - (INT)r - brush_width), (GX_VALUE)(ycente… in _gx_canvas_circle_draw()
102 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_circle_draw()
154 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_circle_draw()
Dgx_canvas_polygon_draw.c83 GX_RECTANGLE bound; in _gx_canvas_polygon_draw() local
119 …_gx_utility_rectangle_define(&bound, (GX_VALUE)(left - width), (GX_VALUE)(top - width), (GX_VALUE)… in _gx_canvas_polygon_draw()
122 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_polygon_draw()
138 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_polygon_draw()
Dgx_canvas_arc_draw.c86 GX_RECTANGLE bound; in _gx_canvas_arc_draw() local
126 …_gx_utility_rectangle_define(&bound, (GX_VALUE)((UINT)xcenter - r - brush_width), (GX_VALUE)((UINT… in _gx_canvas_arc_draw()
132 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_arc_draw()
184 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_arc_draw()
Dgx_canvas_pixelmap_rotate.c230 GX_RECTANGLE bound; in _gx_canvas_pixelmap_rotate() local
243 _gx_utility_rectangle_define(&bound, x_position, y_position, in _gx_canvas_pixelmap_rotate()
266 _gx_canvas_rotated_pixelmap_bound_calculate(&bound, angle, cx, cy); in _gx_canvas_pixelmap_rotate()
269 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_pixelmap_rotate()
312 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_pixelmap_rotate()
Dgx_canvas_pie_draw.c95 GX_RECTANGLE bound; in _gx_canvas_pie_draw() local
139 …_gx_utility_rectangle_define(&bound, (GX_VALUE)(xcenter - (INT)r - brush_width), (GX_VALUE)(ycente… in _gx_canvas_pie_draw()
146 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_pie_draw()
198 if (!_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip_rect)) in _gx_canvas_pie_draw()
Dgx_canvas_text_draw.c161 GX_RECTANGLE bound; in _gx_canvas_text_draw_ext() local
188 _gx_utility_rectangle_define(&bound, x_start, y_start, in _gx_canvas_text_draw_ext()
194 if (!_gx_utility_rectangle_overlap_detect(&bound, &context -> gx_draw_context_dirty, &bound)) in _gx_canvas_text_draw_ext()
254 if (_gx_utility_rectangle_overlap_detect(&view -> gx_view_rectangle, &bound, &clip)) in _gx_canvas_text_draw_ext()