58 std::optional<quad> iViewPort;
62 mutable cache<mat33> iTransformation;
optional_rect view_port() const
geometry_policy view_port_geometry_policy() const
void rotate(scalar aAngle)
void move(vec2 const &aOffset)
void set_view_port_geometry_policy(geometry_policy aGeometryPolicy)
vec2 const & center() const
void set_size(vec2 const &aSize)
void set_rotation(scalar aAngle)
void set_view_geometry_policy(geometry_policy aGeometryPolicy)
void set_view_port(optional_rect const &aViewPort)
mat33 const & transformation() const
geometry_policy view_geometry_policy() const
vec2 const & size() const
void set_center(vec2 const &aCenter)
void zoom(scalar aFactor)
@ Automatic
Parent widget moves/resizes the view port and/or view according to the widget's client rect.
@ Specified
View port and/or view's position/size is specified (i.e. set explicitly).