| DECLSPEC void SDLCALL | GPU_Pixel (GPU_Target *target, float x, float y, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Line (GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Arc (GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_ArcFilled (GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Circle (GPU_Target *target, float x, float y, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_CircleFilled (GPU_Target *target, float x, float y, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Ellipse (GPU_Target *target, float x, float y, float rx, float ry, float degrees, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_EllipseFilled (GPU_Target *target, float x, float y, float rx, float ry, float degrees, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Sector (GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_SectorFilled (GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Tri (GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_TriFilled (GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Rectangle (GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Rectangle2 (GPU_Target *target, GPU_Rect rect, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleFilled (GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleFilled2 (GPU_Target *target, GPU_Rect rect, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleRound (GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleRound2 (GPU_Target *target, GPU_Rect rect, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleRoundFilled (GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_RectangleRoundFilled2 (GPU_Target *target, GPU_Rect rect, float radius, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_Polygon (GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
| DECLSPEC void SDLCALL | GPU_PolygonFilled (GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
| DECLSPEC void SDLCALL GPU_Arc | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | radius, | ||
| float | start_angle, | ||
| float | end_angle, | ||
| SDL_Color | color | ||
| ) |
Renders a colored arc curve (circle segment).
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| radius | The radius of the circle / distance from the center point that rendering will occur |
| start_angle | The angle to start from, in degrees. Measured clockwise from the positive x-axis. |
| end_angle | The angle to end at, in degrees. Measured clockwise from the positive x-axis. |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_ArcFilled | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | radius, | ||
| float | start_angle, | ||
| float | end_angle, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled arc (circle segment / pie piece).
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| radius | The radius of the circle / distance from the center point that rendering will occur |
| start_angle | The angle to start from, in degrees. Measured clockwise from the positive x-axis. |
| end_angle | The angle to end at, in degrees. Measured clockwise from the positive x-axis. |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Circle | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored circle outline.
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| radius | The radius of the circle / distance from the center point that rendering will occur |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_CircleFilled | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled circle.
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| radius | The radius of the circle / distance from the center point that rendering will occur |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Ellipse | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | rx, | ||
| float | ry, | ||
| float | degrees, | ||
| SDL_Color | color | ||
| ) |
Renders a colored ellipse outline.
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| rx | x-radius of ellipse |
| ry | y-radius of ellipse |
| degrees | The angle to rotate the ellipse |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_EllipseFilled | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | rx, | ||
| float | ry, | ||
| float | degrees, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled ellipse.
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| rx | x-radius of ellipse |
| ry | y-radius of ellipse |
| degrees | The angle to rotate the ellipse |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Line | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| SDL_Color | color | ||
| ) |
Renders a colored line.
| target | The destination render target |
| x1 | x-coord of starting point |
| y1 | y-coord of starting point |
| x2 | x-coord of ending point |
| y2 | y-coord of ending point |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Pixel | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| SDL_Color | color | ||
| ) |
Renders a colored point.
| target | The destination render target |
| x | x-coord of the point |
| y | y-coord of the point |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Polygon | ( | GPU_Target * | target, |
| unsigned int | num_vertices, | ||
| float * | vertices, | ||
| SDL_Color | color | ||
| ) |
Renders a colored polygon outline. The vertices are expected to define a convex polygon.
| target | The destination render target |
| num_vertices | Number of vertices (x and y pairs) |
| vertices | An array of vertex positions stored as interlaced x and y coords, e.g. {x1, y1, x2, y2, ...} |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_PolygonFilled | ( | GPU_Target * | target, |
| unsigned int | num_vertices, | ||
| float * | vertices, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled polygon. The vertices are expected to define a convex polygon.
| target | The destination render target |
| num_vertices | Number of vertices (x and y pairs) |
| vertices | An array of vertex positions stored as interlaced x and y coords, e.g. {x1, y1, x2, y2, ...} |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Rectangle | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| SDL_Color | color | ||
| ) |
Renders a colored rectangle outline.
| target | The destination render target |
| x1 | x-coord of top-left corner |
| y1 | y-coord of top-left corner |
| x2 | x-coord of bottom-right corner |
| y2 | y-coord of bottom-right corner |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Rectangle2 | ( | GPU_Target * | target, |
| GPU_Rect | rect, | ||
| SDL_Color | color | ||
| ) |
Renders a colored rectangle outline.
| target | The destination render target |
| rect | The rectangular area to draw |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleFilled | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled rectangle.
| target | The destination render target |
| x1 | x-coord of top-left corner |
| y1 | y-coord of top-left corner |
| x2 | x-coord of bottom-right corner |
| y2 | y-coord of bottom-right corner |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleFilled2 | ( | GPU_Target * | target, |
| GPU_Rect | rect, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled rectangle.
| target | The destination render target |
| rect | The rectangular area to draw |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleRound | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored rounded (filleted) rectangle outline.
| target | The destination render target |
| x1 | x-coord of top-left corner |
| y1 | y-coord of top-left corner |
| x2 | x-coord of bottom-right corner |
| y2 | y-coord of bottom-right corner |
| radius | The radius of the corners |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleRound2 | ( | GPU_Target * | target, |
| GPU_Rect | rect, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored rounded (filleted) rectangle outline.
| target | The destination render target |
| rect | The rectangular area to draw |
| radius | The radius of the corners |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleRoundFilled | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled rounded (filleted) rectangle.
| target | The destination render target |
| x1 | x-coord of top-left corner |
| y1 | y-coord of top-left corner |
| x2 | x-coord of bottom-right corner |
| y2 | y-coord of bottom-right corner |
| radius | The radius of the corners |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_RectangleRoundFilled2 | ( | GPU_Target * | target, |
| GPU_Rect | rect, | ||
| float | radius, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled rounded (filleted) rectangle.
| target | The destination render target |
| rect | The rectangular area to draw |
| radius | The radius of the corners |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Sector | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | inner_radius, | ||
| float | outer_radius, | ||
| float | start_angle, | ||
| float | end_angle, | ||
| SDL_Color | color | ||
| ) |
Renders a colored annular sector outline (ring segment).
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| inner_radius | The inner radius of the ring |
| outer_radius | The outer radius of the ring |
| start_angle | The angle to start from, in degrees. Measured clockwise from the positive x-axis. |
| end_angle | The angle to end at, in degrees. Measured clockwise from the positive x-axis. |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_SectorFilled | ( | GPU_Target * | target, |
| float | x, | ||
| float | y, | ||
| float | inner_radius, | ||
| float | outer_radius, | ||
| float | start_angle, | ||
| float | end_angle, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled annular sector (ring segment).
| target | The destination render target |
| x | x-coord of center point |
| y | y-coord of center point |
| inner_radius | The inner radius of the ring |
| outer_radius | The outer radius of the ring |
| start_angle | The angle to start from, in degrees. Measured clockwise from the positive x-axis. |
| end_angle | The angle to end at, in degrees. Measured clockwise from the positive x-axis. |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_Tri | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | x3, | ||
| float | y3, | ||
| SDL_Color | color | ||
| ) |
Renders a colored triangle outline.
| target | The destination render target |
| x1 | x-coord of first point |
| y1 | y-coord of first point |
| x2 | x-coord of second point |
| y2 | y-coord of second point |
| x3 | x-coord of third point |
| y3 | y-coord of third point |
| color | The color of the shape to render |
| DECLSPEC void SDLCALL GPU_TriFilled | ( | GPU_Target * | target, |
| float | x1, | ||
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | x3, | ||
| float | y3, | ||
| SDL_Color | color | ||
| ) |
Renders a colored filled triangle.
| target | The destination render target |
| x1 | x-coord of first point |
| y1 | y-coord of first point |
| x2 | x-coord of second point |
| y2 | y-coord of second point |
| x3 | x-coord of third point |
| y3 | y-coord of third point |
| color | The color of the shape to render |
1.8.6