Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ion_context.cpp
Go to the documentation of this file.
2 #include <ion.h>
3 
5  static KDIonContext context;
6  return &context;
7 }
8 
9 KDIonContext::KDIonContext() :
11  KDRect(0, 0, Ion::Display::Width, Ion::Display::Height))
12 {
13 }
14 
15 void KDIonContext::pushRect(KDRect rect, const KDColor * pixels) {
16  Ion::Display::pushRect(rect, pixels);
17 }
18 
19 void KDIonContext::pushRectUniform(KDRect rect, KDColor color) {
20  Ion::Display::pushRectUniform(rect, color);
21 }
22 
23 void KDIonContext::pullRect(KDRect rect, KDColor * pixels) {
24  Ion::Display::pullRect(rect, pixels);
25 }
constexpr int Width
Definition: display.h:26
void Display(const char *input)
Definition: display.cpp:11
void pullRect(KDRect r, KDColor *pixels)
Definition: display.cpp:26
constexpr KDPoint KDPointZero
Definition: point.h:25
void pushRect(KDRect r, const KDColor *pixels)
Definition: display.cpp:14
static KDIonContext * sharedContext()
Definition: ion_context.cpp:4
Definition: rect.h:26
Definition: color.h:6
Definition: backlight.h:6
void pushRectUniform(KDRect r, KDColor c)
Definition: display.cpp:20
constexpr int Height
Definition: display.h:27