Kore
Loading...
Searching...
No Matches
Sources
kinc
graphics2
graphics.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
kinc/global.h
>
4
5
#include <
kinc/graphics4/texture.h
>
6
#include <
kinc/math/matrix.h
>
7
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
void
kinc_g2_init(
int
screen_width,
int
screen_height);
17
void
kinc_g2_begin(
void
);
18
void
kinc_g2_end(
void
);
19
void
kinc_g2_clear(
float
r,
float
g,
float
b);
20
void
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);
22
void
kinc_g2_set_rotation(
float
angle,
float
centerx,
float
centery);
23
24
#ifdef __cplusplus
25
}
26
#endif
global.h
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
texture.h
Provides functions for handling textures.
matrix.h
Provides basic matrix types and a few functions which create transformation-matrices....
Generated by
1.15.0