16#ifndef AEONGUI_CAIROPATH_H
17#define AEONGUI_CAIROPATH_H
19#include "aeongui/CairoCanvas.hpp"
20#include "aeongui/Path.hpp"
37 void Construct (
const std::vector<DrawType>& aCommands )
final;
42 void Construct (
const DrawType* aCommands,
size_t aCommandCount )
final;
51 std::vector<cairo_path_data_t> mPathData;
CairoPath()
Default constructor.
const cairo_path_t * GetCairoPath() const
Get the underlying Cairo path structure.
Definition CairoPath.cpp:187
~CairoPath()
Destructor. Frees path data.
void Construct(const std::vector< DrawType > &aCommands) final
Build the Cairo path from a vector of draw commands.
Definition CairoPath.cpp:192
Abstract base class for renderable path data.
Definition Path.hpp:32