GigaPasjans
Loading...
Searching...
No Matches
Andromenda::DrawContext Struct Reference

A utility which contains all essential class instances and functions for rendering objects. More...

#include <DrawContext.h>

Collaboration diagram for Andromenda::DrawContext:

Public Member Functions

void Put (const String &text, Int2 position)
 Puts a UTF-8 text at given position and with given text.
 
void Put (const WideString &text, Int2 position, bool isBorder=false)
 Puts a UTF-16 text at given position and with given text.
 
void Fill (const Box &box)
 Draws an rectangle at given position.
 
void Border (const Box &box)
 Draws an rounded border at given position.
 

Public Attributes

TerminalInfo Terminal
 Terminal information.
 
FramebufferFramebuffer
 Reference to framebuffer where objects should be rendered.
 
StyleStack StyleStack
 Style stack.
 

Detailed Description

A utility which contains all essential class instances and functions for rendering objects.


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