pub fn render_svg_region(
data: &[u8],
region: [f32; 4],
size: (u32, u32),
) -> Result<DynamicImage, ThumbError>Expand description
Renders part of an SVG at size pixels: region is the part to draw,
as fractions of the drawing ([x0, y0, x1, y1], 0..1). The viewer uses
it to stay sharp when zoomed in, drawing only what is on screen.