Skip to main content

Module transform

Module transform 

Source
Expand description

A data ↔ screen transform in plain numbers, with no egui types.

Structs§

ScreenPoint
A point in screen coordinates (points, origin at the top-left).
ScreenRect
A rectangle in screen coordinates.
SecondAxis
The visible range of the right y axis, in scaled units.
Transform
Maps data to screen and back. Works in “scaled” space (log10 already applied), so zoom and pan are linear in what the user sees.

Enums§

YAxis
Which vertical axis a series is measured against.