/inkscape/src/ui/tools/ |
H A D | dynamic-base.cpp | 109 this->mass = 0.01 * CLAMP(value.getInt(10), 0, 100); 111 this->drag = CLAMP((1 - 0.01 * value.getInt()), DRAG_MIN, DRAG_MAX); // drag is inverse to wiggle 115 this->width = 0.01 * CLAMP(value.getInt(10), 1, 100); 117 this->vel_thin = 0.01 * CLAMP(value.getInt(10), -100, 100); 119 this->tremor = 0.01 * CLAMP(value.getInt(), 0, 100); 121 this->flatness = 0.01 * CLAMP(value.getInt(), 0, 100);
|
H A D | dropper-tool.cpp | 150 int pick = prefs->getInt("/tools/dropper/pick", SP_DROPPER_PICK_VISIBLE); 164 int pick = prefs->getInt("/tools/dropper/pick", SP_DROPPER_PICK_VISIBLE); 190 if (prefs->getBool("/tools/dropper/onetimepick", false) && prefs->getInt("/dialogs/fillstroke/page", 0) == 1) { 304 fill = (prefs->getInt("/dialogs/fillstroke/page", 0) == 0) ? true : false;
|
H A D | freehand-base.cpp | 316 bool simplify = prefs->getInt(tool_name(dc) + "/simplify", 0); 325 if (prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1) { 329 if (prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2) { 340 shapeType shape = (shapeType)prefs->getInt(tool_name(dc) + "/shape", 0); 592 unsigned const snaps = abs(prefs->getInt("/options/rotationsnapsperpi/value", 12)); 696 if(prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1 || 697 prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2){ 718 if(prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1 || 719 prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2){ 734 if(prefs->getInt(tool_nam [all...] |
H A D | star-tool.cpp | 145 this->magnitude = CLAMP(val.getInt(5), 3, 1024); 354 int const snaps = prefs->getInt("/options/rotationsnapsperpi/value", 12);
|
H A D | spray-tool.cpp | 293 this->pick = prefs->getInt("/dialogs/clonetiler/pick"); 307 this->mode = val.getInt(); 310 this->width = 0.01 * CLAMP(val.getInt(10), 1, 100); 318 this->population = 0.01 * CLAMP(val.getInt(10), 1, 100); 324 this->standard_deviation = 0.01 * CLAMP(val.getInt(10), 1, 100); 326 this->mean = 0.01 * CLAMP(val.getInt(10), 1, 100); 329 this->distrib = val.getInt(1); 1515 sp_spray_switch_mode (this, prefs->getInt("/tools/spray/mode"), MOD__SHIFT(event)); 1519 sp_spray_switch_mode (this, prefs->getInt("/tools/spray/mode"), MOD__SHIFT(event));
|
H A D | pencil-tool.cpp | 638 bool simplify = prefs->getInt("/tools/freehand/pencil/simplify", 0); 665 guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0); 711 bool simplify = prefs->getInt("/tools/freehand/pencil/simplify", 0); 819 guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0); 859 if((unsigned int)prefs->getInt("/tools/nodes/highlight_color", 0xff0000ff) == this->highlight_color){
|
/inkscape/src/svg/ |
H A D | stringstream.cpp | 17 ostr.precision(prefs->getInt("/options/svgoutput/numericprecision", 8)); 78 this->precision(prefs->getInt("/options/svgoutput/numericprecision", 8)); 90 this->precision(prefs->getInt("/options/svgoutput/numericprecision", 8));
|
H A D | css-ostringstream.cpp | 17 ostr.precision(prefs->getInt("/options/svgoutput/numericprecision", 8));
|
H A D | path-string.cpp | 36 numericprecision = std::max<int>(minprec,std::min<int>(maxprec, prefs->getInt("/options/svgoutput/numericprecision", 8))); 37 minimumexponent = prefs->getInt("/options/svgoutput/minimumexponent", -8);
|
H A D | svg-affine.cpp | 162 int prec = prefs->getInt("/options/svgoutput/numericprecision", 8); 163 int min_exp = prefs->getInt("/options/svgoutput/minimumexponent", -8);
|
/inkscape/src/ |
H A D | preferences-test.h | 24 value = val.getInt(); 49 TS_ASSERT_EQUALS(prefs->getInt("/test/intvalue"), 321); 54 TS_ASSERT_EQUALS(prefs->getInt("/this/path/does/not/exist", 123), 123); 121 TS_ASSERT_EQUALS(val.getInt(), 100);
|
H A D | selcue.cpp | 85 gint mode = prefs->getInt("/options/selcue/value", MARK); 140 gint mode = prefs->getInt("/options/selcue/value", MARK); 238 gint mode = prefs->getInt("/options/selcue/value", MARK);
|
H A D | preferences.h | 147 inline int getInt(int def=0) const; 310 int getInt(Glib::ustring const &pref_path, int def=0) { function in class:Inkscape::Preferences 311 return getEntry(pref_path).getInt(def); 589 inline int Preferences::Entry::getInt(int def) const function in class:Inkscape::Preferences::Entry
|
H A D | sp-use-reference.cpp | 134 guint mode = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_PARALLEL); 177 guint const mode = prefs->getInt("/options/cloneorphans/value", SP_CLONE_ORPHANS_UNLINK);
|
/inkscape/src/ui/dialog/ |
H A D | dialog.cpp | 155 int x = prefs->getInt(_prefs_path + "/x", -1000); 156 int y = prefs->getInt(_prefs_path + "/y", -1000); 157 int w = prefs->getInt(_prefs_path + "/w", 0); 158 int h = prefs->getInt(_prefs_path + "/h", 0);
|
H A D | align-and-distribute.cpp | 95 int prev_pref = prefs->getInt("/dialogs/align/align-nodes-to"); 145 switch (AlignTarget(prefs->getInt("/dialogs/align/align-to", 6))) 320 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 496 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 530 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 601 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 657 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 711 int saved_compensation = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_UNMOVED); 848 switch (AlignTarget(prefs->getInt("/dialogs/align/align-to", 6))) 1092 _combo.set_active(prefs->getInt("/dialog [all...] |
H A D | dock-behavior.cpp | 48 Inkscape::Preferences::get()->getInt(_dialog._prefs_path + "/state", 51 Inkscape::Preferences::get()->getInt(_dialog._prefs_path + "/placement",
|
/inkscape/src/util/ |
H A D | ziptool.cpp | 2467 bool ZipFile::getInt(unsigned int *val) function in class:ZipFile 2516 if (!getInt(&versionNeeded)) 2522 if (!getInt(&gpBitFlag)) 2528 if (!getInt(&compressionMethod)) 2534 if (!getInt(&modTime)) 2540 if (!getInt(&modDate)) 2564 if (!getInt(&fileNameLength)) 2570 if (!getInt(&extraFieldLength)) 2741 if (!getInt(&version)) 2747 if (!getInt( [all...] |
H A D | ziptool.h | 530 bool getInt(unsigned int *val);
|
/inkscape/src/widgets/ |
H A D | dropper-toolbar.cpp | 80 gint pickAlpha = prefs->getInt( "/tools/dropper/pick", 1 );
|
H A D | pencil-toolbar.cpp | 96 guint freehandMode = prefs->getInt(( tool_is_pencil ? "/tools/freehand/pencil/freehand-mode" : "/tools/freehand/pen/freehand-mode" ), 0); 210 ege_select_one_action_set_active( act1, prefs->getInt(( tool_is_pencil ? "/tools/freehand/pencil/shape" : "/tools/freehand/pen/shape" ), 0) ); 411 gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(itact), prefs->getInt("/tools/freehand/pencil/simplify", 0) ); 425 if (!prefs->getInt("/tools/freehand/pencil/simplify", 0)) {
|
H A D | font-selector.cpp | 119 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); 372 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); 408 int max_size = prefs->getInt("/dialogs/textandfont/maxFontSize", 10000); // somewhat arbitrary, but text&font preview freezes with too huge fontsizes
|
H A D | text-toolbar.cpp | 214 int max_size = prefs->getInt("/dialogs/textandfont/maxFontSize", 10000); // somewhat arbitrary, but text&font preview freezes with too huge fontsizes 222 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); 1188 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); 1287 prefs->getInt("/tools/text/lineheight/display_unit", SP_CSS_UNIT_PT); 1602 int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); 1726 gint mode = prefs->getInt("/tools/text/align_mode", 0); 1775 gint mode = prefs->getInt("/tools/text/writing_mode", 0); 1828 gint mode = prefs->getInt("/tools/text/text_orientation", 0);
|
H A D | tweak-toolbar.cpp | 265 gint mode = prefs->getInt("/tools/tweak/mode", 0); 272 guint mode = prefs->getInt("/tools/tweak/mode", 0);
|
/inkscape/src/display/ |
H A D | drawing-image.cpp | 139 guint32 rgba = prefs->getInt("/options/wireframecolors/images", 0xff0000ff);
|