Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Path::path_lineto Struct Reference

Points of the polyline approximation. More...

#include <Path.h>

Public Member Functions

 path_lineto (bool m, Geom::Point const &pp)
 
 path_lineto (bool m, Geom::Point const &pp, int pie, double tt)
 

Public Attributes

int isMoveTo
 
Geom::Point p
 
int piece = -1
 
double t = 0.0
 
bool closed = false
 

Detailed Description

Points of the polyline approximation.

Since the polyline approximation approximates a Path which can have multiple subpaths, the approximation can also have a set of continuous polylines.

Definition at line 116 of file Path.h.

Constructor & Destructor Documentation

◆ path_lineto() [1/2]

Path::path_lineto::path_lineto ( bool  m,
Geom::Point const &  pp 
)
inline

Definition at line 118 of file Path.h.

◆ path_lineto() [2/2]

Path::path_lineto::path_lineto ( bool  m,
Geom::Point const &  pp,
int  pie,
double  tt 
)
inline

Definition at line 119 of file Path.h.

Member Data Documentation

◆ closed

bool Path::path_lineto::closed = false

True indicates that subpath is closed (this point is the last point of a closed subpath)

Definition at line 125 of file Path.h.

◆ isMoveTo

int Path::path_lineto::isMoveTo

A flag that stores one of polyline_lineto, polyline_moveto, polyline_forced

Definition at line 121 of file Path.h.

◆ p

Geom::Point Path::path_lineto::p

The point itself.

Definition at line 122 of file Path.h.

◆ piece

int Path::path_lineto::piece = -1

Index of the path command that created the path segment that this point comes from.

Definition at line 123 of file Path.h.

◆ t

double Path::path_lineto::t = 0.0

The time at which this point exists in the path segment. A value between 0 and 1.

Definition at line 124 of file Path.h.


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