|
AeonGUI
A portable video game graphic user interface library.
|
Cairo-backend path implementation. More...
#include <aeongui/CairoPath.hpp>
Public Member Functions | |
| CairoPath () | |
| Default constructor. | |
| void | Construct (const std::vector< DrawType > &aCommands) final |
| Build the Cairo path from a vector of draw commands. | |
| void | Construct (const DrawType *aCommands, size_t aCommandCount) final |
| Build the Cairo path from a raw array of draw commands. | |
| ~CairoPath () | |
| Destructor. Frees path data. | |
| const cairo_path_t * | GetCairoPath () const |
| Get the underlying Cairo path structure. | |
| Public Member Functions inherited from AeonGUI::Path | |
| virtual | ~Path ()=0 |
| Virtual destructor. | |
Cairo-backend path implementation.
Converts DrawType command sequences into a cached cairo_path_t structure for efficient repeated rendering.
|
finalvirtual |
Build the Cairo path from a raw array of draw commands.
| aCommands | Pointer to the command array. |
| aCommandCount | Number of commands. |
Implements AeonGUI::Path.
|
finalvirtual |
Build the Cairo path from a vector of draw commands.
| aCommands | The draw command sequence. |
Implements AeonGUI::Path.
| const cairo_path_t * AeonGUI::CairoPath::GetCairoPath | ( | ) | const |
Get the underlying Cairo path structure.