6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <kandinsky/ion_context.h>
#include <ion.h>
KDIonContext * KDIonContext::sharedContext() {
static KDIonContext context;
return &context;
}
KDIonContext::KDIonContext() :
KDContext(KDPointZero,
KDRect(0, 0, Ion::Display::Width, Ion::Display::Height))
{
}
void KDIonContext::pushRect(KDRect rect, const KDColor * pixels) {
Ion::Display::pushRect(rect, pixels);
}
void KDIonContext::pushRectUniform(KDRect rect, KDColor color) {
Ion::Display::pushRectUniform(rect, color);
}
void KDIonContext::pullRect(KDRect rect, KDColor * pixels) {
Ion::Display::pullRect(rect, pixels);
}
|