Searched refs:percent (Results 1 - 5 of 5) sorted by relevance

/inkscape/share/extensions/
H A Dstraightseg.py21 def pointAtPercent((x1, y1), (x2, y2), percent):
22 percent /= 100.0
23 x = x1 + (percent * (x2 - x1))
24 y = y1 + (percent * (y2 - y1))
30 self.OptionParser.add_option("-p", "--percent",
32 dest="percent", default=10.0,
33 help="move curve handles PERCENT percent closer to a straight line")
49 params[:2] = pointAtPercent(params[:2],last[:],self.options.percent)
50 params[2:4] = pointAtPercent(params[2:4],params[-2:],self.options.percent)
55 params[:2] = pointAtPercent(params[:2],dest1[:],self.options.percent)
[all...]
/inkscape/src/ui/dialog/
H A Dcolor-item.h94 void _linkTint( ColorItem& other, int percent );
95 void _linkTone( ColorItem& other, int percent, int grayLevel );
H A Dcolor-item.cpp741 guint64 percent = 0; local
742 if ( popVal( percent, part ) ) {
743 it->_linkTint( colorSet->_colors[colorIndex], percent );
752 guint64 percent = 0; local
753 if ( popVal( percent, part ) ) {
758 it->_linkTone( colorSet->_colors[colorIndex], percent, grayLevel );
770 void ColorItem::_linkTint( ColorItem& other, int percent )
776 _linkPercent = percent;
788 void ColorItem::_linkTone( ColorItem& other, int percent, int grayLevel ) argument
794 _linkPercent = percent;
[all...]
/inkscape/src/ui/widget/
H A Dobject-composite-settings.cpp271 float percent = radius * 400 / perimeter; // so that for a square, 100% == half side local
272 _fe_cb.set_blur_value(percent);
/inkscape/src/
H A Dsp-namedview.cpp1136 static Inkscape::Util::Unit const *percent = unit_table.getUnit("%"); member in class:Inkscape::Util
1140 if (*margin_units == *percent) {

Completed in 184 milliseconds