Searched refs:star (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dsp-star.cpp2 * <sodipodi:star> implementation
33 #include "sp-star.h"
72 repr->setAttribute("sodipodi:type", "star");
309 sp_star_get_curvepoint (SPStar *star, SPStarPoint point, gint index, bool previ) argument
312 Geom::Point o = sp_star_get_xy (star, point, index);
315 gint pi = (index > 0)? (index - 1) : (star->sides - 1);
316 gint ni = (index < star->sides - 1)? (index + 1) : 0;
321 // the neighbors of o; depending on flatsided, they're either the same type (polygon) or the other type (star)
322 Geom::Point prev = (star->flatsided? sp_star_get_xy (star, poin
469 sp_star_position_set(SPStar *star, gint sides, Geom::Point center, gdouble r1, gdouble r2, gdouble arg1, gdouble arg2, bool isflat, double rounded, double randomized) argument
573 sp_star_get_xy(SPStar const *star, SPStarPoint point, gint index, bool randomized) argument
[all...]
H A Dsp-star.h5 * <sodipodi:star> implementation
45 // So shouldn't star be derived from shape instead of polygon?
62 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);
64 Geom::Point sp_star_get_xy (SPStar const *star, SPStarPoint point, int index, bool randomized = false);
H A Dsp-mesh-array.cpp58 #include "sp-star.h"
1095 // But if it is a star... use star parameters!
1096 SPStar* star = SP_STAR( item );
1097 center = star->center;
1098 rx = star->r[0];
1099 ry = star->r[0];
1100 start = star->arg[0];
1232 // Do simplest thing... assume star is not rounded or randomized.
1234 // the appropriate star clas
[all...]
/inkscape/src/ui/tools/
H A Dstar-tool.cpp28 #include "sp-star.h"
38 #include "pixmaps/cursor-star.xpm"
48 #include "ui/tools/star-tool.h"
60 const std::string StarTool::prefsPath = "/tools/shapes/star";
64 , star(NULL)
91 if (this->star) {
231 // we've been dragging, finish the star
278 desktop->setToolboxFocusTo ("altx-star");
302 // we've been dragging, finish the star
356 if (!this->star) {
[all...]
H A Dstar-tool.h22 #include "sp-star.h"
43 SPStar* star; member in class:Inkscape::UI::Tools::StarTool
/inkscape/src/ui/
H A Dobject-edit.cpp24 #include "sp-star.h"
1027 SPStar *star = dynamic_cast<SPStar *>(item); local
1028 g_assert(star != NULL);
1032 Geom::Point d = s - star->center;
1035 double darg1 = arg1 - star->arg[0];
1038 star->randomized = darg1/(star->arg[0] - star->arg[1]);
1040 star->rounded = darg1/(star
1054 SPStar *star = dynamic_cast<SPStar *>(item); local
1086 SPStar const *star = dynamic_cast<SPStar const *>(item); local
1098 SPStar const *star = dynamic_cast<SPStar const *>(item); local
1107 SPStar *star = dynamic_cast<SPStar *>(item); local
1137 SPStar *star = dynamic_cast<SPStar *>(item); local
[all...]
/inkscape/src/extension/dbus/
H A Dpytester.py82 doc.star (250, 250, 50, 25, 5, False, .9, 1.4)

Completed in 173 milliseconds