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

Class SeriesSpan

src/plot_state.rs:1305–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1303 series,
1304 widget.x_axis_scale,
1305 widget.y_axis_scale,
1306 axis_ranges,
1307 );
1308 for segment in points.windows(2) {
1309 let p0 = segment[0];
1310 let p1 = segment[1];
1311 let q0 = [x_plot, p0[1]];
1312 let q1 = [x_plot, p1[1]];
1313 push_quad_as_triangles(&mut vertices, p0, q0, p1, q1);
1314 }
1315 }
1316 (FillEndpoint::HLine(hline0), FillEndpoint::HLine(hline1)) => {
1317 let (x0, x1) = x_domain?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected