Loading...
Searching...
No Matches
View.h
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
void sfView_rotate(sfView *view, float angle)
Rotate a view relatively to its current orientation.
sfFloatRect sfView_getViewport(const sfView *view)
Get the target viewport rectangle of a view.
float sfView_getRotation(const sfView *view)
Get the current orientation of a view.
void sfView_zoom(sfView *view, float factor)
Resize a view rectangle relatively to its current size.
sfView * sfView_createFromRect(sfFloatRect rectangle)
Construct a view from a rectangle.
void sfView_setViewport(sfView *view, sfFloatRect viewport)
Set the target viewport of a view.
void sfView_move(sfView *view, sfVector2f offset)
Move a view relatively to its current position.
void sfView_reset(sfView *view, sfFloatRect rectangle)
Reset a view to the given rectangle.
sfFloatRect and sfIntRect are utility classes for manipulating rectangles.
Definition Rect.h:41