/dports/graphics/goocanvas/goocanvas-1.0.0/demo/ |
H A D | demo-large-rect.c | 116 tmp_bounds.x1 -= line_width; in create_large_rect_path() 122 if (x1 > tmp_bounds.x2 || x2 < tmp_bounds.x1 in create_large_rect_path() 123 || y1 > tmp_bounds.y2 || y2 < tmp_bounds.y1) in create_large_rect_path() 127 if (x1 < tmp_bounds.x1) in create_large_rect_path() 128 x1 = tmp_bounds.x1; in create_large_rect_path() 129 if (x2 > tmp_bounds.x2) in create_large_rect_path() 130 x2 = tmp_bounds.x2; in create_large_rect_path() 132 if (y1 < tmp_bounds.y1) in create_large_rect_path() 133 y1 = tmp_bounds.y1; in create_large_rect_path() 134 if (y2 > tmp_bounds.y2) in create_large_rect_path() [all …]
|
H A D | demo-large-line.c | 143 tmp_bounds.x1 -= line_width; in paint_large_line() 144 tmp_bounds.y1 -= line_width; in paint_large_line() 145 tmp_bounds.x2 += line_width; in paint_large_line() 146 tmp_bounds.y2 += line_width; in paint_large_line() 161 if (p2[0] < tmp_bounds.x1 || p1[0] > tmp_bounds.x2) in paint_large_line() 165 if (p1[0] < tmp_bounds.x1) in paint_large_line() 166 clamp_x (p1, p2, tmp_bounds.x1); in paint_large_line() 167 if (p2[0] > tmp_bounds.x2) in paint_large_line() 183 if (p2[1] < tmp_bounds.y1 || p1[1] > tmp_bounds.y2) in paint_large_line() 187 if (p1[1] < tmp_bounds.y1) in paint_large_line() [all …]
|
/dports/graphics/goocanvas3/goocanvas-3.0.0/demo/ |
H A D | demo-large-rect.c | 116 tmp_bounds.x1 -= line_width; in create_large_rect_path() 122 if (x1 > tmp_bounds.x2 || x2 < tmp_bounds.x1 in create_large_rect_path() 123 || y1 > tmp_bounds.y2 || y2 < tmp_bounds.y1) in create_large_rect_path() 127 if (x1 < tmp_bounds.x1) in create_large_rect_path() 128 x1 = tmp_bounds.x1; in create_large_rect_path() 129 if (x2 > tmp_bounds.x2) in create_large_rect_path() 130 x2 = tmp_bounds.x2; in create_large_rect_path() 132 if (y1 < tmp_bounds.y1) in create_large_rect_path() 133 y1 = tmp_bounds.y1; in create_large_rect_path() 134 if (y2 > tmp_bounds.y2) in create_large_rect_path() [all …]
|
H A D | demo-large-line.c | 143 tmp_bounds.x1 -= line_width; in paint_large_line() 144 tmp_bounds.y1 -= line_width; in paint_large_line() 145 tmp_bounds.x2 += line_width; in paint_large_line() 146 tmp_bounds.y2 += line_width; in paint_large_line() 161 if (p2[0] < tmp_bounds.x1 || p1[0] > tmp_bounds.x2) in paint_large_line() 165 if (p1[0] < tmp_bounds.x1) in paint_large_line() 166 clamp_x (p1, p2, tmp_bounds.x1); in paint_large_line() 167 if (p2[0] > tmp_bounds.x2) in paint_large_line() 183 if (p2[1] < tmp_bounds.y1 || p1[1] > tmp_bounds.y2) in paint_large_line() 187 if (p1[1] < tmp_bounds.y1) in paint_large_line() [all …]
|
/dports/graphics/goocanvas2/goocanvas-2.0.4/demo/ |
H A D | demo-large-rect.c | 116 tmp_bounds.x1 -= line_width; in create_large_rect_path() 122 if (x1 > tmp_bounds.x2 || x2 < tmp_bounds.x1 in create_large_rect_path() 123 || y1 > tmp_bounds.y2 || y2 < tmp_bounds.y1) in create_large_rect_path() 127 if (x1 < tmp_bounds.x1) in create_large_rect_path() 128 x1 = tmp_bounds.x1; in create_large_rect_path() 129 if (x2 > tmp_bounds.x2) in create_large_rect_path() 130 x2 = tmp_bounds.x2; in create_large_rect_path() 132 if (y1 < tmp_bounds.y1) in create_large_rect_path() 133 y1 = tmp_bounds.y1; in create_large_rect_path() 134 if (y2 > tmp_bounds.y2) in create_large_rect_path() [all …]
|
H A D | demo-large-line.c | 143 tmp_bounds.x1 -= line_width; in paint_large_line() 144 tmp_bounds.y1 -= line_width; in paint_large_line() 145 tmp_bounds.x2 += line_width; in paint_large_line() 146 tmp_bounds.y2 += line_width; in paint_large_line() 161 if (p2[0] < tmp_bounds.x1 || p1[0] > tmp_bounds.x2) in paint_large_line() 165 if (p1[0] < tmp_bounds.x1) in paint_large_line() 166 clamp_x (p1, p2, tmp_bounds.x1); in paint_large_line() 167 if (p2[0] > tmp_bounds.x2) in paint_large_line() 183 if (p2[1] < tmp_bounds.y1 || p1[1] > tmp_bounds.y2) in paint_large_line() 187 if (p1[1] < tmp_bounds.y1) in paint_large_line() [all …]
|
/dports/graphics/goocanvas2/goocanvas-2.0.4/src/ |
H A D | goocanvasitemsimple.c | 1218 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_update_internal() 1744 cairo_user_to_device (cr, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_item_simple_user_bounds_to_device() 1745 cairo_user_to_device (cr, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1752 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1757 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1762 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1767 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1809 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1814 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1819 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_parent() [all …]
|
H A D | goocanvaspolyline.c | 978 GooCanvasBounds tmp_bounds; in goo_canvas_polyline_compute_bounds() local 1004 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 1005 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1006 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() 1007 bounds->y1 = MIN (bounds->y1, tmp_bounds.y1); in goo_canvas_polyline_compute_bounds() 1008 bounds->x2 = MAX (bounds->x2, tmp_bounds.x2); in goo_canvas_polyline_compute_bounds() 1009 bounds->y2 = MAX (bounds->y2, tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1015 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 1016 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1017 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() [all …]
|
H A D | goocanvas.c | 3993 GooCanvasBounds tmp_bounds = *bounds, tmp_bounds2 = *bounds; in goo_canvas_convert_bounds_to_item_space() local 3999 cairo_matrix_transform_point (&transform, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_convert_bounds_to_item_space() 4000 cairo_matrix_transform_point (&transform, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 4007 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 4012 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 4017 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 4022 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space()
|
H A D | goocanvastable.c | 2227 GooCanvasBounds tmp_bounds; in goo_canvas_table_update() local 2237 if (goo_canvas_table_get_requested_area (item, cr, &tmp_bounds)) in goo_canvas_table_update() 2239 goo_canvas_table_allocate_area (item, cr, &tmp_bounds, &tmp_bounds, in goo_canvas_table_update()
|
/dports/graphics/goocanvas3/goocanvas-3.0.0/src/ |
H A D | goocanvasitemsimple.c | 1218 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_update_internal() 1744 cairo_user_to_device (cr, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_item_simple_user_bounds_to_device() 1745 cairo_user_to_device (cr, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1752 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1757 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1762 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1767 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1809 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1814 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1819 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_parent() [all …]
|
H A D | goocanvaspolyline.c | 978 GooCanvasBounds tmp_bounds; in goo_canvas_polyline_compute_bounds() local 1004 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 1005 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1006 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() 1007 bounds->y1 = MIN (bounds->y1, tmp_bounds.y1); in goo_canvas_polyline_compute_bounds() 1008 bounds->x2 = MAX (bounds->x2, tmp_bounds.x2); in goo_canvas_polyline_compute_bounds() 1009 bounds->y2 = MAX (bounds->y2, tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1015 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 1016 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 1017 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() [all …]
|
H A D | goocanvas.c | 3993 GooCanvasBounds tmp_bounds = *bounds, tmp_bounds2 = *bounds; in goo_canvas_convert_bounds_to_item_space() local 3999 cairo_matrix_transform_point (&transform, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_convert_bounds_to_item_space() 4000 cairo_matrix_transform_point (&transform, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 4007 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 4012 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 4017 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 4022 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space()
|
H A D | goocanvastable.c | 2227 GooCanvasBounds tmp_bounds; in goo_canvas_table_update() local 2237 if (goo_canvas_table_get_requested_area (item, cr, &tmp_bounds)) in goo_canvas_table_update() 2239 goo_canvas_table_allocate_area (item, cr, &tmp_bounds, &tmp_bounds, in goo_canvas_table_update()
|
/dports/graphics/goocanvas/goocanvas-1.0.0/src/ |
H A D | goocanvasitemsimple.c | 1168 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_update_internal() 1688 cairo_user_to_device (cr, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_item_simple_user_bounds_to_device() 1689 cairo_user_to_device (cr, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1696 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1701 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_device() 1706 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1711 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_device() 1753 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1758 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_item_simple_user_bounds_to_parent() 1763 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_item_simple_user_bounds_to_parent() [all …]
|
H A D | goocanvaspolyline.c | 943 GooCanvasBounds tmp_bounds; in goo_canvas_polyline_compute_bounds() local 969 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 970 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 971 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() 972 bounds->y1 = MIN (bounds->y1, tmp_bounds.y1); in goo_canvas_polyline_compute_bounds() 973 bounds->x2 = MAX (bounds->x2, tmp_bounds.x2); in goo_canvas_polyline_compute_bounds() 974 bounds->y2 = MAX (bounds->y2, tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 980 cairo_fill_extents (cr, &tmp_bounds.x1, &tmp_bounds.y1, in goo_canvas_polyline_compute_bounds() 981 &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_polyline_compute_bounds() 982 bounds->x1 = MIN (bounds->x1, tmp_bounds.x1); in goo_canvas_polyline_compute_bounds() [all …]
|
H A D | goocanvas.c | 3818 GooCanvasBounds tmp_bounds = *bounds, tmp_bounds2 = *bounds; in goo_canvas_convert_bounds_to_item_space() local 3824 cairo_matrix_transform_point (&transform, &tmp_bounds.x1, &tmp_bounds.y1); in goo_canvas_convert_bounds_to_item_space() 3825 cairo_matrix_transform_point (&transform, &tmp_bounds.x2, &tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 3832 bounds->x1 = MIN (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 3837 bounds->x2 = MAX (tmp_bounds.x1, tmp_bounds.x2); in goo_canvas_convert_bounds_to_item_space() 3842 bounds->y1 = MIN (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space() 3847 bounds->y2 = MAX (tmp_bounds.y1, tmp_bounds.y2); in goo_canvas_convert_bounds_to_item_space()
|
H A D | goocanvastable.c | 2189 GooCanvasBounds tmp_bounds; in goo_canvas_table_update() local 2199 if (goo_canvas_table_get_requested_area (item, cr, &tmp_bounds)) in goo_canvas_table_update() 2201 goo_canvas_table_allocate_area (item, cr, &tmp_bounds, &tmp_bounds, in goo_canvas_table_update()
|
/dports/science/py-scipy/scipy-1.7.1/scipy/spatial/ckdtree/src/ |
H A D | build.cxx | 146 std::vector<double> tmp_bounds(2 * m); in build() local 147 double* tmp_mins = &tmp_bounds[0]; in build() 149 double* tmp_maxes = &tmp_bounds[m]; in build()
|