Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Paths and path sequences

Sequences of contiguous curves, aka splines, and their processing. More...

Classes

class  Geom::PathSink
 Callback interface for processing path data. More...
 
class  Geom::PathIteratorSink< OutputIterator >
 Store paths to an output iterator. More...
 
class  Geom::PathBuilder
 Store paths to a PathVector. More...
 
struct  Geom::PathTime
 Generalized time value in the path. More...
 
class  Geom::PathInterval
 Contiguous subset of the path's parameter domain. More...
 
class  Geom::Path
 Sequence of contiguous curves, aka spline. More...
 
struct  Geom::PathVectorTime
 Generalized time value in the path vector. More...
 
class  Geom::PathVector
 Sequence of subpaths. More...
 
class  Geom::SVGPathParser
 Read SVG path data and feed it to a PathSink. More...
 
class  Geom::SVGPathWriter
 Serialize paths to SVG path data strings. More...
 
class  Geom::PathIntersectionGraph
 Intermediate data for computing Boolean operations on paths. More...
 

Functions

void Geom::parse_svg_path (char const *str, PathSink &sink)
 Feed SVG path data to the specified sink.
 
void Geom::parse_svg_path (std::string const &str, PathSink &sink)
 Feed SVG path data to the specified sink.
 
void Geom::parse_svg_path_file (FILE *fi, PathSink &sink)
 Feed SVG path data from a C stream to the specified sink.
 
PathVector Geom::parse_svg_path (char const *str)
 Create path vector from SVG path data stored in a C string.
 
PathVector Geom::read_svgd_f (FILE *fi)
 Create path vector from a C stream with SVG path data.
 
PathVector Geom::read_svgd (char const *filename)
 Create path vector from SVG path data stored in a file.
 

Detailed Description

Sequences of contiguous curves, aka splines, and their processing.

Function Documentation

◆ parse_svg_path() [1/3]

PathVector Geom::parse_svg_path ( char const *  str)
inline

Create path vector from SVG path data stored in a C string.

Definition at line 157 of file svg-path-parser.h.

References Geom::parse_svg_path().

◆ parse_svg_path() [2/3]

◆ parse_svg_path() [3/3]

void Geom::parse_svg_path ( std::string const &  str,
PathSink sink 
)
inline

Feed SVG path data to the specified sink.

Definition at line 148 of file svg-path-parser.h.

References Geom::parse_svg_path().

◆ parse_svg_path_file()

void Geom::parse_svg_path_file ( FILE *  fi,
PathSink sink 
)

Feed SVG path data from a C stream to the specified sink.

Definition at line 1586 of file svg-path-parser.cpp.

References Geom::SVGPathParser::feed(), and Geom::SVGPathParser::parse().

Referenced by Geom::read_svgd_f().

◆ read_svgd()

PathVector Geom::read_svgd ( char const *  filename)
inline

Create path vector from SVG path data stored in a file.

Definition at line 179 of file svg-path-parser.h.

References Geom::read_svgd_f().

Referenced by main(), and wrap_parser().

◆ read_svgd_f()

PathVector Geom::read_svgd_f ( FILE *  fi)
inline

Create path vector from a C stream with SVG path data.

Definition at line 168 of file svg-path-parser.h.

References Geom::parse_svg_path_file().

Referenced by Geom::read_svgd().