Lines Matching refs:star
58 #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 class function public.)
1235 SPStar* star = SP_STAR( item );
1236 guint sides = star->sides;
1238 // std::cout << "We've got ourselves an star! Sides: " << sides << std::endl;
1240 Geom::Point p0 = sp_star_get_xy( star, SP_STAR_POINT_KNOT1, 0 );
1247 if( star->flatsided ) {
1251 patch.setPoint( 0, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT1, i ) );
1254 patch.setPoint( 1, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT1, ii ) );
1255 patch.setPoint( 2, 0, star->center );
1256 patch.setPoint( 3, 0, star->center );
1271 patch0.setPoint( 0, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT1, i ) );
1272 patch0.setPoint( 1, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT2, i ) );
1273 patch0.setPoint( 2, 0, star->center );
1274 patch0.setPoint( 3, 0, star->center );
1281 patch1.setPoint( 0, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT2, i ) );
1282 patch1.setPoint( 1, 0, sp_star_get_xy( star, SP_STAR_POINT_KNOT1, ii ) );
1283 patch1.setPoint( 2, 0, star->center );
1284 patch1.setPoint( 3, 0, star->center );