Skip to main content

emit_placement

Function emit_placement 

Source
pub(crate) fn emit_placement(
    content: &mut Content,
    page_height_pt: f32,
    placement: &ImagePlacement,
)
Expand description

Emit the q w 0 0 h x y cm /Im<id> Do Q block for one placement, translated into PDF’s bottom-origin coordinate space using page_height_pt.