Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
sp-star.h File Reference

Go to the source code of this file.

Classes

class  SPStar
 

Enumerations

enum  SPStarPoint { SP_STAR_POINT_KNOT1 , SP_STAR_POINT_KNOT2 }
 

Functions

void sp_star_position_set (SPStar *star, int sides, Geom::Point center, double r1, double r2, double arg1, double arg2, bool isflat, double rounded, double randomized)
 
Geom::Point sp_star_get_xy (SPStar const *star, SPStarPoint point, int index, bool randomized=false)
 

Enumeration Type Documentation

◆ SPStarPoint

Enumerator
SP_STAR_POINT_KNOT1 
SP_STAR_POINT_KNOT2 

Definition at line 20 of file sp-star.h.

Function Documentation

◆ sp_star_get_xy()

Geom::Point sp_star_get_xy ( SPStar const *  star,
SPStarPoint  point,
int  index,
bool  randomized = false 
)

◆ sp_star_position_set()

void sp_star_position_set ( SPStar star,
int  sides,
Geom::Point  center,
double  r1,
double  r2,
double  arg1,
double  arg2,
bool  isflat,
double  rounded,
double  randomized 
)