MCPcopy Create free account
hub / github.com/Kethku/Pando / scale

Method scale

aspen/src/context_stack/draw_context.rs:265–267  ·  view source on GitHub ↗
(&mut self, scale: f64)

Source from the content-addressed store, hash-verified

263 }
264
265 pub fn scale(&mut self, scale: f64) {
266 self.update_local_transform(|t| t.then_scale(scale));
267 }
268
269 pub fn scale_non_uniform(&mut self, scale_x: f64, scale_y: f64) {
270 self.update_local_transform(|t| t.then_scale_non_uniform(scale_x, scale_y));

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected