AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
AeonGUI::Path Class Referenceabstract

Abstract base class for renderable path data. More...

#include <aeongui/Path.hpp>

Inheritance diagram for AeonGUI::Path:
[legend]

Public Member Functions

virtual void Construct (const std::vector< DrawType > &aCommands)=0
 Build the path from a vector of draw commands.
virtual void Construct (const DrawType *aCommands, size_t aCommandCount)=0
 Build the path from a raw array of draw commands.
virtual ~Path ()=0
 Virtual destructor.

Detailed Description

Abstract base class for renderable path data.

A Path is constructed from a sequence of DrawType commands and can be drawn by a Canvas implementation.

Member Function Documentation

◆ Construct() [1/2]

virtual void AeonGUI::Path::Construct ( const DrawType * aCommands,
size_t aCommandCount )
pure virtual

Build the path from a raw array of draw commands.

Parameters
aCommandsPointer to the command array.
aCommandCountNumber of commands.

Implemented in AeonGUI::CairoPath.

◆ Construct() [2/2]

virtual void AeonGUI::Path::Construct ( const std::vector< DrawType > & aCommands)
pure virtual

Build the path from a vector of draw commands.

Parameters
aCommandsThe draw command sequence.

Implemented in AeonGUI::CairoPath.


The documentation for this class was generated from the following files:
  • include/aeongui/Path.hpp
  • core/Path.cpp