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

Method x_range

src/camera.rs:109–114  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

107 }
108
109 pub(crate) fn x_range(&self) -> [f64; 2] {
110 [
111 self.position.x - self.half_extents.x,
112 self.position.x + self.half_extents.x,
113 ]
114 }
115
116 pub(crate) fn y_range(&self) -> [f64; 2] {
117 [

Callers 3

axis_rangesMethod · 0.80
rebuild_reflinesMethod · 0.80
draw_reference_linesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected