Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
path.cpp File Reference

Go to the source code of this file.

Functions

Geom::Curve const & path_getitem (Geom::Path const &p, int index)
 
void py_cairo_curve (object cr, Geom::Curve const &c)
 
void py_cairo_rectangle (object cr, Geom::Rect const &r)
 
void py_cairo_convex_hull (object cr, Geom::ConvexHull const &r)
 
void py_cairo_path (object cr, Geom::Path const &p)
 
void py_cairo_path (object cr, Geom::PathVector const &p)
 
void py_cairo_path_stitches (object cr, Geom::Path const &p)
 
void py_cairo_path_stitches (object cr, Geom::PathVector const &p)
 
void py_cairo_d2_sb (object cr, Geom::D2< Geom::SBasis > const &p)
 
void py_cairo_d2_pw_sb (object cr, Geom::D2< Geom::Piecewise< Geom::SBasis > > const &p)
 
void py_cairo_pw_d2_sb (object cr, Geom::Piecewise< Geom::D2< Geom::SBasis > > const &p)
 
void wrap_path ()
 

Variables

void(* cp_1 )(object, Geom::Path const &) = &py_cairo_path
 
void(* cp_2 )(object, Geom::PathVector const &) = &py_cairo_path
 
void(* cps_1 )(object, Geom::Path const &) = &py_cairo_path_stitches
 
void(* cps_2 )(object, Geom::PathVector const &) = &py_cairo_path_stitches
 
Geom::Point(Geom::Path::* path_pointAt_time )(Geom::Coord) const = &Geom::Path::pointAt
 
Geom::Coord(Geom::Path::* path_valueAt_time )(Geom::Coord, Geom::Dim2) const = &Geom::Path::valueAt
 
void(Geom::Path::* appendPortionTo_time )(Geom::Path &, Geom::Coord, Geom::Coord) const = &Geom::Path::appendPortionTo
 

Function Documentation

◆ path_getitem()

Geom::Curve const & path_getitem ( Geom::Path const &  p,
int  index 
)

Definition at line 47 of file path.cpp.

References index, size, and Geom::Path::size_default().

Referenced by wrap_path().

◆ py_cairo_convex_hull()

void py_cairo_convex_hull ( object  cr,
Geom::ConvexHull const &  r 
)

Definition at line 122 of file path.cpp.

References cairo_convex_hull(), and cairo_t_from_object().

Referenced by wrap_path().

◆ py_cairo_curve()

void py_cairo_curve ( object  cr,
Geom::Curve const &  c 
)

Definition at line 115 of file path.cpp.

References c, cairo_curve(), and cairo_t_from_object().

◆ py_cairo_d2_pw_sb()

void py_cairo_d2_pw_sb ( object  cr,
Geom::D2< Geom::Piecewise< Geom::SBasis > > const &  p 
)

Definition at line 153 of file path.cpp.

References cairo_d2_pw_sb(), and cairo_t_from_object().

Referenced by wrap_path().

◆ py_cairo_d2_sb()

void py_cairo_d2_sb ( object  cr,
Geom::D2< Geom::SBasis > const &  p 
)

Definition at line 149 of file path.cpp.

References cairo_d2_sb(), and cairo_t_from_object().

Referenced by wrap_path().

◆ py_cairo_path() [1/2]

void py_cairo_path ( object  cr,
Geom::Path const &  p 
)

Definition at line 129 of file path.cpp.

References cairo_path(), and cairo_t_from_object().

◆ py_cairo_path() [2/2]

void py_cairo_path ( object  cr,
Geom::PathVector const &  p 
)

Definition at line 133 of file path.cpp.

References cairo_path(), and cairo_t_from_object().

◆ py_cairo_path_stitches() [1/2]

void py_cairo_path_stitches ( object  cr,
Geom::Path const &  p 
)

Definition at line 136 of file path.cpp.

References cairo_path_stitches(), and cairo_t_from_object().

◆ py_cairo_path_stitches() [2/2]

void py_cairo_path_stitches ( object  cr,
Geom::PathVector const &  p 
)

Definition at line 139 of file path.cpp.

References cairo_path_stitches(), and cairo_t_from_object().

◆ py_cairo_pw_d2_sb()

void py_cairo_pw_d2_sb ( object  cr,
Geom::Piecewise< Geom::D2< Geom::SBasis > > const &  p 
)

Definition at line 157 of file path.cpp.

References cairo_pw_d2_sb(), and cairo_t_from_object().

Referenced by wrap_path().

◆ py_cairo_rectangle()

void py_cairo_rectangle ( object  cr,
Geom::Rect const &  r 
)

Definition at line 118 of file path.cpp.

References cairo_rectangle(), and cairo_t_from_object().

◆ wrap_path()

Variable Documentation

◆ appendPortionTo_time

void(Geom::Path::* appendPortionTo_time) (Geom::Path &, Geom::Coord, Geom::Coord) const ( Geom::Path ,
Geom::Coord  ,
Geom::Coord   
) const = &Geom::Path::appendPortionTo

Definition at line 165 of file path.cpp.

Referenced by wrap_path().

◆ cp_1

void(* cp_1) (object, Geom::Path const &) ( object  ,
Geom::Path const &   
) = &py_cairo_path

Definition at line 142 of file path.cpp.

Referenced by wrap_path().

◆ cp_2

void(* cp_2) (object, Geom::PathVector const &) ( object  ,
Geom::PathVector const &   
) = &py_cairo_path

Definition at line 143 of file path.cpp.

Referenced by wrap_path().

◆ cps_1

void(* cps_1) (object, Geom::Path const &) ( object  ,
Geom::Path const &   
) = &py_cairo_path_stitches

Definition at line 145 of file path.cpp.

Referenced by wrap_path().

◆ cps_2

void(* cps_2) (object, Geom::PathVector const &) ( object  ,
Geom::PathVector const &   
) = &py_cairo_path_stitches

Definition at line 146 of file path.cpp.

Referenced by wrap_path().

◆ path_pointAt_time

Geom::Point(Geom::Path::* path_pointAt_time) (Geom::Coord) const ( Geom::Coord  ) const = &Geom::Path::pointAt

Definition at line 163 of file path.cpp.

Referenced by wrap_path().

◆ path_valueAt_time

Geom::Coord(Geom::Path::* path_valueAt_time) (Geom::Coord, Geom::Dim2) const ( Geom::Coord  ,
Geom::Dim2   
) const = &Geom::Path::valueAt

Definition at line 164 of file path.cpp.

Referenced by wrap_path().