Function render_size

Source
pub fn render_size(w: u32, h: u32, quality: f32) -> (u32, u32)
Expand description

The canvas size render_to_texture actually renders at for a given preview quality. Callers must rasterise text/shape/subtitle layers at this size (they are placed 1:1, not fitted).