Package-level declarations
Types
What a DrawMode.Combine does with the polygon that is tapped second.
Which kind of shape is being drawn. Needed while a shape is still in progress (see DrawMode.Draw) — before enough points exist to construct a real com.tcsappdev.worldwinddraw.core.geometry.DrawnPolygon, com.tcsappdev.worldwinddraw.core.geometry.DrawnPolyline, or com.tcsappdev.worldwinddraw.core.geometry.DrawnMarker, there is no com.tcsappdev.worldwinddraw.core.geometry.DrawableEntity instance yet to ask.
An immutable snapshot of the draw engine's current interaction state. Does not hold the drawn shapes themselves — those live in a separate entity repository — only what mode the engine is in and that mode's associated data.
A user interaction, translated from whatever input system the host app uses (e.g. WWK pick/gesture callbacks in wwk-adapter) into a form DrawEngineReducer can act on without knowing anything about that platform.
The interaction mode the draw engine is currently in. Sealed so every place that branches on mode (the reducer, and eventually the host UI) is guaranteed by the compiler to handle every case — adding a new mode later surfaces every place that needs updating as a compile error.
Holds the draw engine's live DrawEngineState and exposes it reactively via state.