From fd238a1ede74577a64a5e97e56ac11cf7cbc82bb Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 27 Sep 2023 13:30:57 +0100 Subject: [PATCH] Make bounds functions available in user API. --- pretty-poly.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pretty-poly.h b/pretty-poly.h index 7890a6c..a0652c2 100644 --- a/pretty-poly.h +++ b/pretty-poly.h @@ -124,6 +124,9 @@ void pp_antialias(pp_antialias_t antialias); void pp_transform(pp_mat3_t *transform); void pp_render(pp_poly_t *polygon); +pp_rect_t pp_contour_bounds(const pp_path_t *c); +pp_rect_t pp_polygon_bounds(pp_poly_t *p); + #ifdef __cplusplus } #endif