Searched refs:sp_round (Results 1 - 5 of 5) sorted by relevance
/inkscape/src/ |
H A D | macros.h | 16 // Macros are not in general bad, but these particular ones are rather ugly. Especially that sp_round one. --Liam 36 #define sp_round(v,m) (((v) < 0.0) ? ((ceil((v) / (m) - 0.5)) * (m)) : ((floor((v) / (m) + 0.5)) * (m))) macro
|
H A D | knot-holder-entity.cpp | 217 theta = sp_round(theta, M_PI/snaps);
|
/inkscape/src/ui/tools/ |
H A D | spiral-tool.cpp | 376 arg = sp_round(arg, M_PI/snaps); 391 rads->str, sp_round((arg + 2.0*M_PI*this->spiral->revo)*180/M_PI, 0.0001));
|
H A D | star-tool.cpp | 396 arg1 = sp_round(arg1, M_PI / snaps); 409 rads->str, sp_round((arg1) * 180 / M_PI, 0.0001));
|
/inkscape/src/ui/ |
H A D | object-edit.cpp | 42 #define sp_round(v,m) (((v) < 0.0) ? ((ceil((v) / (m) - 0.5)) * (m)) : ((floor((v) / (m) + 0.5)) * (m))) macro 824 arc->start = sp_round(arc->start, M_PI / snaps); 868 arc->end = sp_round(arc->end, M_PI/snaps); 1216 spiral->t0 = (sp_round(arg, M_PI/snaps) - spiral->arg)/(2.0*M_PI*spiral->revo); 1250 spiral->arg = sp_round(spiral->arg, M_PI/snaps); 1258 double arg_r = arg_1 - sp_round(arg_1, 2.0*M_PI); 1267 mouse_angle = sp_round(mouse_angle, M_PI/snaps);
|
Completed in 44 milliseconds