Skip to content

Commit

Permalink
Merge pull request #7 from Gadgetoid/patch-bounds
Browse files Browse the repository at this point in the history
Make bounds functions available in user API.
  • Loading branch information
lowfatcode authored Nov 1, 2023
2 parents eacac7c + fd238a1 commit d2687ce
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 @@ -135,6 +135,9 @@ void pp_antialias(pp_antialias_t antialias);
pp_mat3_t *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 d2687ce

Please sign in to comment.