View struct
#include <GGUI/Public/Snapshot.h>
Where rows are drawn: at M * position - (X, Y), M = [A B; C D]. The scrolls, zooms, and group transforms of every enclosing space, composed.
Public functions
- auto Scale() const -> float
- How much bigger it draws, on average.
- void Point(float x, float y, float& outX, float& outY) const
- Where the point
x,yis drawn. - auto Rect(const GGRect& rect) const -> GGRect
- The bounds of
rectas drawn. - auto Within(const float l[4], const float t[2]) const -> View
- The view of content placed in this one at p' = L p + t.