31 #include <SFML/Graphics/Export.h>
32 #include <SFML/Graphics/Rect.h>
33 #include <SFML/Graphics/Types.h>
34 #include <SFML/System/Vector2.h>
45 CSFML_GRAPHICS_API sfView* sfView_create(
void);
55 CSFML_GRAPHICS_API sfView* sfView_createFromRect(
sfFloatRect rectangle);
65 CSFML_GRAPHICS_API sfView* sfView_copy(
const sfView* view);
73 CSFML_GRAPHICS_API
void sfView_destroy(sfView* view);
82 CSFML_GRAPHICS_API
void sfView_setCenter(sfView* view,
sfVector2f center);
91 CSFML_GRAPHICS_API
void sfView_setSize(sfView* view,
sfVector2f size);
102 CSFML_GRAPHICS_API
void sfView_setRotation(sfView* view,
float angle);
118 CSFML_GRAPHICS_API
void sfView_setViewport(sfView* view,
sfFloatRect viewport);
129 CSFML_GRAPHICS_API
void sfView_reset(sfView* view,
sfFloatRect rectangle);
139 CSFML_GRAPHICS_API
sfVector2f sfView_getCenter(
const sfView* view);
149 CSFML_GRAPHICS_API
sfVector2f sfView_getSize(
const sfView* view);
159 CSFML_GRAPHICS_API
float sfView_getRotation(
const sfView* view);
169 CSFML_GRAPHICS_API
sfFloatRect sfView_getViewport(
const sfView* view);
178 CSFML_GRAPHICS_API
void sfView_move(sfView* view,
sfVector2f offset);
187 CSFML_GRAPHICS_API
void sfView_rotate(sfView* view,
float angle);
203 CSFML_GRAPHICS_API
void sfView_zoom(sfView* view,
float factor);
206 #endif // SFML_VIEW_H