Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <context.h>
Public Member Functions | |
void | setOrigin (KDPoint origin) |
void | setClippingRect (KDRect clippingRect) |
void | setPixel (KDPoint p, KDColor c) |
KDColor | getPixel (KDPoint p) |
KDPoint | drawString (const char *text, KDPoint p, KDText::FontSize size=KDText::FontSize::Large, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite, int maxLength=-1) |
KDPoint | blendString (const char *text, KDPoint p, KDText::FontSize size, KDColor textColor=KDColorBlack) |
void | drawLine (KDPoint p1, KDPoint p2, KDColor c) |
void | fillRect (KDRect rect, KDColor color) |
void | fillRectWithPixels (KDRect rect, const KDColor *pixels, KDColor *workingBuffer) |
void | blendRectWithMask (KDRect rect, KDColor color, const uint8_t *mask, KDColor *workingBuffer) |
void | strokeRect (KDRect rect, KDColor color) |
Protected Member Functions | |
KDContext (KDPoint origin, KDRect clippingRect) | |
virtual void | pushRect (KDRect, const KDColor *pixels)=0 |
virtual void | pushRectUniform (KDRect rect, KDColor color)=0 |
virtual void | pullRect (KDRect rect, KDColor *pixels)=0 |
Definition at line 4 of file context.cpp.
void KDContext::blendRectWithMask | ( | KDRect | rect, |
KDColor | color, | ||
const uint8_t * | mask, | ||
KDColor * | workingBuffer | ||
) |
Definition at line 65 of file context_rect.cpp.
KDPoint KDContext::blendString | ( | const char * | text, |
KDPoint | p, | ||
KDText::FontSize | size, | ||
KDColor | textColor = KDColorBlack |
||
) |
Definition at line 13 of file context_text.cpp.
Definition at line 4 of file context_line.cpp.
KDPoint KDContext::drawString | ( | const char * | text, |
KDPoint | p, | ||
KDText::FontSize | size = KDText::FontSize::Large , |
||
KDColor | textColor = KDColorBlack , |
||
KDColor | backgroundColor = KDColorWhite , |
||
int | maxLength = -1 |
||
) |
Definition at line 9 of file context_text.cpp.
Definition at line 8 of file context_rect.cpp.
Definition at line 17 of file context_rect.cpp.
Definition at line 10 of file context_pixel.cpp.
Implemented in KDFrameBufferContext.
Implemented in KDFrameBufferContext.
Implemented in KDFrameBufferContext.
void KDContext::setClippingRect | ( | KDRect | clippingRect | ) |
Definition at line 14 of file context.cpp.
void KDContext::setOrigin | ( | KDPoint | origin | ) |
Definition at line 10 of file context.cpp.
Definition at line 3 of file context_pixel.cpp.
Definition at line 89 of file context_rect.cpp.