Structs§
- Cell
Style CellStyleprovides styling information for rendering a grid cell.- Hollow
Arrow Style HollowArrowStyleprovides styling information for rendering arrows. Currently, hollow arrows must have a head.- Label
Style LabelStyleprovides styling information for rendering text labels.- Solid
Arrow Style SolidArrowStyleprovides styling information for rendering arrows. If no heads are specified it is the degenerate case of a line segment with the possibility of a label.a
Enums§
- Cell
Border Style CellBorderStyleprovides styling information for rendering the border of a grid cell. It can either be a primitive style applied to the entire border, or a different style for each edge of the cell.- Cell
Primitive Border Style CellPrimitiveBorderStyleprovides styling information for rendering the border of a grid cell.- Theme
- A
Themeprovides some predefined styling for grid cells.
Functions§
- alter_
segment_ length - Helper to adjust the length of a line segment by moving its endpoints, maintaining its orientation but altering where it starts and ends. The segment must not be zero length, and it cannot be shortened to a length of zero or less.
- coord_
to_ egui_ pos2 - Given a grid coordinate as
dynamic::Coord, convert it to a screen position asegui::Pos2using the provideddynamic::SizedGrid. - egui_
pos2_ to_ coord - Given a screen coordinate as
egui::Pos2, convert it to a grid coord using the provideddynamic::SizedGrid. - egui_
pos2_ to_ glam_ vec2 - Helper to convert a
egui::Pos2into aglam::Vec2. - glam_
vec2_ to_ egui_ pos2 - Helper to convert a
glam::Vec2into aegui::Pos2. - render_
arrow - render_
arrow_ arc - render_
coord_ cell - render_
disallowed - Draw a 🚫.
- render_
grid_ rect - render_
hollow_ arrow - render_
hollow_ arrow_ coords - render_
hollow_ self_ arrow - render_
label - Helper for drawing a styled label.
- render_
shape