16#ifndef AEONGUI_SKIAPATH_H
17#define AEONGUI_SKIAPATH_H
18#include "aeongui/Path.hpp"
19#include <include/core/SkPath.h>
27 class SkiaPath :
public Path
35 void Construct (
const std::vector<DrawType>& aCommands,
size_t aPathDataHint = 0 )
final;
41 void Construct (
const DrawType* aCommands,
size_t aCommandCount,
size_t aPathDataHint = 0 )
final;
Abstract base class for renderable path data.
Definition Path.hpp:40
void Construct(const std::vector< DrawType > &aCommands, size_t aPathDataHint=0) final
Build the Skia path from a vector of draw commands.
Definition SkiaPath.cpp:31
double GetTotalLength() const final
Compute the total arc length of the path.
Definition SkiaPath.cpp:248
PathPoint GetPointAtLength(double aDistance) const final
Get the position and tangent angle at a distance along the path.
Definition SkiaPath.cpp:260
bool IsClosed() const final
Check whether the path contains a close-path command.
Definition SkiaPath.cpp:290
const SkPath & GetSkPath() const
Access the underlying Skia path object.
Definition SkiaPath.cpp:26
Result of querying a point along a path.
Definition Path.hpp:28