Skip to content

Commit

Permalink
Make bounds functions available in user API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Sep 27, 2023
1 parent a5a1e2d commit fd238a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pretty-poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd238a1

Please sign in to comment.