25 #ifndef SFML_VERTEXARRAY_H
26 #define SFML_VERTEXARRAY_H
31 #include <SFML/Graphics/Export.h>
32 #include <SFML/Graphics/PrimitiveType.h>
33 #include <SFML/Graphics/Rect.h>
34 #include <SFML/Graphics/Types.h>
35 #include <SFML/Graphics/Vertex.h>
45 CSFML_GRAPHICS_API sfVertexArray* sfVertexArray_create(
void);
55 CSFML_GRAPHICS_API sfVertexArray* sfVertexArray_copy(
const sfVertexArray* vertexArray);
63 CSFML_GRAPHICS_API
void sfVertexArray_destroy(sfVertexArray* vertexArray);
73 CSFML_GRAPHICS_API
size_t sfVertexArray_getVertexCount(
const sfVertexArray* vertexArray);
88 CSFML_GRAPHICS_API
sfVertex* sfVertexArray_getVertex(sfVertexArray* vertexArray,
size_t index);
101 CSFML_GRAPHICS_API
void sfVertexArray_clear(sfVertexArray* vertexArray);
116 CSFML_GRAPHICS_API
void sfVertexArray_resize(sfVertexArray* vertexArray,
size_t vertexCount);
125 CSFML_GRAPHICS_API
void sfVertexArray_append(sfVertexArray* vertexArray,
sfVertex vertex);
142 CSFML_GRAPHICS_API
void sfVertexArray_setPrimitiveType(sfVertexArray* vertexArray, sfPrimitiveType type);
152 CSFML_GRAPHICS_API sfPrimitiveType sfVertexArray_getPrimitiveType(sfVertexArray* vertexArray);
165 CSFML_GRAPHICS_API
sfFloatRect sfVertexArray_getBounds(sfVertexArray* vertexArray);
168 #endif // SFML_VERTEXARRAY_H