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

Class PositionTransform

src/transform.rs:230–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228/// Separate x and y coordinate transforms for a two-dimensional point.
229#[derive(Debug, Clone, PartialEq, Default)]
230pub struct PositionTransform {
231 /// How to interpret or convert x values. `None` means normal data coordinates.
232 pub x: Option<Transform>,
233 /// How to interpret or convert y values. `None` means normal data coordinates.
234 pub y: Option<Transform>,
235}
236
237impl PositionTransform {
238 /// Create a new x/y transform pair.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected