Searched defs:force (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/ui/widget/
H A Drotateable.cpp97 double force = CLAMP (-(angle - current_axis)/maxdecl, -1, 1); local
98 if (fabs(force) < 0.002)
99 force = 0; // snap to zero
103 do_release(force, modifier);
107 do_motion(force, modifier);
120 double force = CLAMP(-(angle - current_axis) / maxdecl, -1, 1); local
121 if (fabs(force) < 0.002)
122 force = 0; // snap to zero
123 do_release(force, modifier);
/inkscape/src/ui/tools/
H A Dtweak-tool.h58 double force; member in class:Inkscape::UI::Tools::TweakTool
H A Dcalligraphic-tool.cpp255 /* Calculate force and acceleration */
256 Geom::Point force = n - this->cur; local
258 // If force is below the absolute threshold DYNA_EPSILON,
260 // _and_ the force is below the (higher) DYNA_EPSILON_START threshold,
265 if ( Geom::L2(force) < DYNA_EPSILON || (this->vel_max < DYNA_VEL_START && Geom::L2(force) < DYNA_EPSILON_START)) {
269 this->acc = force / mass;
308 // flip a2 to force it to be in the same half-circle as a1
333 // g_print ("force %g acc %g vel_max %g vel %g a1 %g a2 %g new_ang %g\n", Geom::L2(force), Geo
[all...]
H A Deraser-tool.cpp159 // TODO temp force:
203 /* Calculate force and acceleration */
204 Geom::Point force = n - this->cur; local
206 // If force is below the absolute threshold ERASER_EPSILON,
208 // _and_ the force is below the (higher) ERASER_EPSILON_START threshold,
213 if ( Geom::L2(force) < ERASER_EPSILON || (this->vel_max < ERASER_VEL_START && Geom::L2(force) < ERASER_EPSILON_START)) {
217 this->acc = force / mass;
256 // flip a2 to force it to be in the same half-circle as a1
281 // g_print ("force
[all...]
H A Dtweak-tool.cpp111 , force(0.2)
278 sp_event_context_read(this, "force");
309 } else if (path == "force") {
310 this->force = CLAMP(val.getDouble(1.0), 0, 1.0);
344 double force = 8 * (tc->usepressure? tc->pressure : TC_DEFAULT_PRESSURE) local
346 if (force > 3) {
347 force += 4 * (force - 3);
349 return force * tc->force;
355 double force = (tc->usepressure? tc->pressure : TC_DEFAULT_PRESSURE); local
360 sp_tweak_dilate_recursive(Inkscape::Selection *selection, SPItem *item, Geom::Point p, Geom::Point vector, gint mode, double radius, double force, double fidelity, bool reverse) argument
662 tweak_colorpaint(float *color, guint32 goal, double force, bool do_h, bool do_s, bool do_l) argument
694 tweak_colorjitter(float *color, double force, bool do_h, bool do_s, bool do_l) argument
719 tweak_color(guint mode, float *color, guint32 goal, double force, bool do_h, bool do_s, bool do_l) argument
729 tweak_opacity(guint mode, SPIScale24 *style_opacity, double opacity_goal, double force) argument
761 tweak_colors_in_gradient(SPItem *item, Inkscape::PaintTarget fill_or_stroke, guint32 const rgb_goal, Geom::Point p_w, double radius, double force, guint mode, bool do_h, bool do_s, bool do_l, bool ) argument
886 sp_tweak_color_recursive(guint mode, SPItem *item, SPItem *item_at_point, guint32 fill_goal, bool do_fill, guint32 stroke_goal, bool do_stroke, float opacity_goal, bool do_opacity, bool do_blur, bool reverse, Geom::Point p, double radius, double force, bool do_h, bool do_s, bool do_l, bool do_o) argument
[all...]
/inkscape/src/ui/
H A Dcontrol-manager.cpp73 void setControlSize(int size, bool force = false);
200 void ControlManagerImpl::setControlSize(int size, bool force) argument
204 } else if (force || (size != _size)) {
/inkscape/
H A Dbuildtool.cpp8142 bool force = parent.evalBool(forceOpt, false); local
8147 if (!force && !isNewerThan(parent.getURI().getPath(), fullName))
8173 if (!parent.getAttribute(elem, "force", forceOpt))

Completed in 1912 milliseconds