nw::dev::DirectPrint Classclass DirectPrint
Class for direct rendering to framebuffer.
| Direction | Represents the direction of rendering. |
|---|
| Constructors and Destructors | ||
|---|---|---|
| DirectPrint | Constructor. | |
| ~DirectPrint | Destructor. | |
| Initialization & Shutdown | ||
Initialize
|
Initializes the direct print feature. | |
| Finalize | Deallocates the resource. | |
| IsActive | Returns whether the direct print feature is in a usable state or not. | |
| Settings | ||
| SetTargetBuffer | Sets the framebuffer that will be the rendering target. | |
| SetTargetActiveDisplayBuffer | Sets the currently active display buffer to the rendering target framebuffer. | |
| GetTargetBuffer | Gets the framebuffer for the currently set rendering target. | |
| GetTargetWidth | Gets the width of the currently set rendering target. | |
| GetTargetHeight | Gets the height of the currently set rendering target. | |
| SetColor | Sets the rendering color. | |
| GetColor | Gets the present rendering color. | |
| SetDirection | Sets the direction of rendering. | |
| GetDirection | Gets the direction of rendering. | |
| Rendering | ||
| Erase | Darkens a rectangular area. | |
| Printf | Draws a string. | |
| VPrintf | Draws a string. | |
| DrawString | Draws a string. | |
| StoreCache | Stores the rendered string from cache to main memory. | |
CONFIDENTIAL