Skip to content

Add wrapper for cairo_recording_surface_ink_extents() #355

@hustf

Description

@hustf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions