Expand description
Image support for genpdfi-rs.
Structs§
- Image
- An image to embed in the PDF.
Enums§
- Image
Source 🔒 - Enum representing either a raster image or a vector SVG image.
Functions§
- bounding_
box_ 🔒offset_ and_ size - Given the Size of a box (width/height), compute the bounding-box size and offset when rotated some degrees. The offset is the distance from the top-left corner of the bounding box to the (originally) lower-left corner of the image.