Module: RustPdf::ImageAnchor
- Defined in:
- lib/rustpdf.rb
Overview
How a rotated EditableDoc#draw_image is anchored. CORNER (default) rotates the image about its own lower-left corner at (x, y); BOUNDING_BOX lands the rotated image's bounding box with its lower-left at (x, y) (legacy layout engines layout semantics).
Constant Summary collapse
- CORNER =
0- BOUNDING_BOX =
1