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

Method to_px

src/series.rs:145–148  ·  view source on GitHub ↗
(self, camera: &Camera, bounds: &Rectangle)

Source from the content-addressed store, hash-verified

143 px_x.max(px_y) as f32
144 }
145 pub(crate) fn to_px(self, camera: &Camera, bounds: &Rectangle) -> f32 {
146 let (size, size_mode) = self.to_raw();
147 Self::size_px(size, size_mode, camera, bounds)
148 }
149}
150
151#[derive(Debug, Clone, Copy, PartialEq)]

Callers 4

rebuild_highlightMethod · 0.80
draw_linesFunction · 0.80
draw_reference_linesFunction · 0.80
draw_highlightsFunction · 0.80

Calls 1

to_rawMethod · 0.80

Tested by

no test coverage detected