Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::Path::Command Struct Reference

A command in the path, pairing a verb with the index of its first point. More...

#include "donner/base/Path.h"

Public Member Functions

bool operator== (const Command &other) const
 Equality operator. Compares verb and pointIndex; isInternal is ignored.

Public Attributes

Verb verb
 The verb type.
uint32_t pointIndex
 Index of the first point for this command in the points array.
bool isInternal = false
 True for each cubic of a decomposed arc except the last, whose end point is interior to the arc. Path::vertices skips those points when placing markers.

Friends

std::ostream & operator<< (std::ostream &os, const Command &command)
 Ostream output operator.

Detailed Description

A command in the path, pairing a verb with the index of its first point.


The documentation for this struct was generated from the following file: