Skip to main content

set_zoom

Function set_zoom 

Source
pub fn set_zoom(ctx: &Context, id: Id, zoom: f32)
Expand description

Publishes a canvas’s zoom (1 is 100 %: one content unit, or one image pixel, to a point), each frame it draws.