|
le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
Create and handle an OS native drawing context. More...
#include <draw.h>
Public Member Functions | |
| LeDraw (LeDrawingContext context, int width=LE_RESOX_DEFAULT, int heigth=LE_RESOY_DEFAULT) | |
| ~LeDraw () | |
| void | setContext (LeDrawingContext context) |
| Set the graphic context where to draw. More... | |
| void | setPixels (const void *data) |
| Set the graphic content of the context. More... | |
Public Attributes | |
| int | width |
| int | height |
Create and handle an OS native drawing context.
| LeDraw::LeDraw | ( | LeDrawingContext | context, |
| int | width = LE_RESOX_DEFAULT, |
||
| int | heigth = LE_RESOY_DEFAULT |
||
| ) |
| LeDraw::~LeDraw | ( | ) |
| void LeDraw::setContext | ( | LeDrawingContext | context | ) |
Set the graphic context where to draw.
| [in] | context | graphic context |
| void LeDraw::setPixels | ( | const void * | data | ) |
Set the graphic content of the context.
| [in] | data | pointer to an array of pixels |
| int LeDraw::height |
Height of context (in pixels)
| int LeDraw::width |
Width of context (in pixels)
1.8.10