MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / new_world

Method new_world

src/point.rs:51–57  ·  view source on GitHub ↗
(x: f64, y: f64, size: f64)

Source from the content-addressed store, hash-verified

49 }
50
51 pub fn new_world(x: f64, y: f64, size: f64) -> Self {
52 Self {
53 position: [x, y],
54 size: size as f32,
55 size_mode: MARKER_SIZE_WORLD,
56 }
57 }
58
59 pub fn filled_circle(x: f64, y: f64, size: f32) -> Self {
60 Self::new(x, y, size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected