Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wrapper for cairo_recording_surface_ink_extents() #355

Open
hustf opened this issue Aug 20, 2022 · 0 comments
Open

Add wrapper for cairo_recording_surface_ink_extents() #355

hustf opened this issue Aug 20, 2022 · 0 comments

Comments

@hustf
Copy link

hustf commented Aug 20, 2022

This is useful to compute the required size of an image surface (or equivalent) into which to replay the full sequence of drawing operations.

Api reference, since version 1.10:
https://www.cairographics.org/manual/cairo-Recording-Surfaces.html#cairo-recording-surface-ink-extents

Use case with Luxor (this helps to fix):
JuliaGraphics/Luxor.jl#150.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant