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 relative 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.
sfFloatRect sfView_getScissor(const sfView *view)
Get the scissor rectangle of the view.
void sfView_zoom(sfView *view, float factor)
Resize a view rectangle relative 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 relative to its current position.
void sfView_setScissor(sfView *view, sfFloatRect scissor)
Set the target scissor rectangle.
sfFloatRect and sfIntRect are utility classes for manipulating rectangles.
Definition Rect.h:40