Numworks Epsilon  1.4.1
Graphing Calculator Operating System
KDFrameBufferContext Class Reference

#include <framebuffer_context.h>

Inheritance diagram for KDFrameBufferContext:
KDContext

Public Member Functions

 KDFrameBufferContext (KDFrameBuffer *frameBuffer)
 
- Public Member Functions inherited from KDContext
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

void pushRect (KDRect, const KDColor *pixels) override
 
void pushRectUniform (KDRect rect, KDColor color) override
 
void pullRect (KDRect rect, KDColor *pixels) override
 
- Protected Member Functions inherited from KDContext
 KDContext (KDPoint origin, KDRect clippingRect)
 

Detailed Description

Definition at line 7 of file framebuffer_context.h.

Constructor & Destructor Documentation

◆ KDFrameBufferContext()

KDFrameBufferContext::KDFrameBufferContext ( KDFrameBuffer frameBuffer)

Definition at line 3 of file framebuffer_context.cpp.

Member Function Documentation

◆ pullRect()

void KDFrameBufferContext::pullRect ( KDRect  rect,
KDColor pixels 
)
overrideprotectedvirtual

Implements KDContext.

Definition at line 17 of file framebuffer_context.cpp.

◆ pushRect()

void KDFrameBufferContext::pushRect ( KDRect  rect,
const KDColor pixels 
)
overrideprotectedvirtual

Implements KDContext.

Definition at line 9 of file framebuffer_context.cpp.

◆ pushRectUniform()

void KDFrameBufferContext::pushRectUniform ( KDRect  rect,
KDColor  color 
)
overrideprotectedvirtual

Implements KDContext.

Definition at line 13 of file framebuffer_context.cpp.


The documentation for this class was generated from the following files: