Searched refs:flatness (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/ui/tools/
H A Ddynamic-base.h99 double flatness; member in class:Inkscape::UI::Tools::DynamicBase
H A Ddynamic-base.cpp57 , flatness(0.9)
120 } else if (path == "flatness") {
121 this->flatness = 0.01 * CLAMP(value.getInt(), 0, 100);
H A Dcalligraphic-tool.cpp113 this->flatness = 0.9;
162 sp_event_context_read(this, "flatness");
305 // 3. Average them using flatness parameter:
319 // find the flatness-weighted bisector angle, unflip if a2 was flipped
321 double new_ang = a1 + (1 - this->flatness) * (a2 - a1) - (flipped? M_PI : 0);
H A Deraser-tool.cpp133 {"flatness",0.9, 0.0, 1.0},
144 sp_event_context_read(this, "flatness");
253 // 3. Average them using flatness parameter:
267 // find the flatness-weighted bisector angle, unflip if a2 was flipped
269 double new_ang = a1 + (1 - this->flatness) * (a2 - a1) - (flipped? M_PI : 0);

Completed in 395 milliseconds