Kore
Loading...
Searching...
No Matches
graphics.h
Go to the documentation of this file.
1#pragma once
2
3#include <kinc/global.h>
4
6#include <kinc/math/matrix.h>
7
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16void kinc_g2_init(int screen_width, int screen_height);
17void kinc_g2_begin(void);
18void kinc_g2_end(void);
19void kinc_g2_clear(float r, float g, float b);
20void kinc_g2_draw_image(kinc_image_t *img, float x, float y);
21// void drawScaledSubImage(Graphics4::Texture *img, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh);
22void kinc_g2_set_rotation(float angle, float centerx, float centery);
23
24#ifdef __cplusplus
25}
26#endif
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
Provides functions for handling textures.
Provides basic matrix types and a few functions which create transformation-matrices....