Searched +refs:val +refs:mode (Results 1 - 25 of 26) sorted by relevance

12

/inkscape/src/
H A Dselcue.cpp35 void Inkscape::SelCue::BoundingBoxPrefsObserver::notify(Preferences::Entry const &val) argument
37 _sel_cue._boundingBoxPrefsChanged(static_cast<int>(val.getBool()));
85 gint mode = prefs->getInt("/options/selcue/value", MARK); local
86 if (mode == NONE) {
94 _updateItemBboxes(mode, prefs_bbox);
97 void Inkscape::SelCue::_updateItemBboxes(gint mode, int prefs_bbox) argument
117 if (mode == MARK) {
119 } else if (mode == BBOX) {
140 gint mode = prefs->getInt("/options/selcue/value", MARK); local
141 if (mode
238 gint mode = prefs->getInt("/options/selcue/value", MARK); local
[all...]
H A Dselcue.h45 void notify(Preferences::Entry const &val);
55 void _updateItemBboxes(int mode, int prefs_bbox);
77 mode:c++
80 indent-tabs-mode:nil
H A Ddevice-manager.cpp34 Gdk::InputMode mode; member in struct:GdkDeviceFake
50 const bool mode_matches = (device->get_mode() == (*it).mode);
311 virtual void setMode( Glib::ustring const & id, Gdk::InputMode mode );
352 g_message("device: name[%s] source[0x%x] mode[0x%x] cursor[%s] axis count[%d] key count[%d]", dev->name, dev->source, dev->mode,
374 Gdk::InputMode mode = Gdk::MODE_DISABLED; local
375 Glib::ustring val = prefs->getString(path + "/mode"); local
376 if (getStringToMode().find(val) != getStringToMode().end()) {
377 mode
[all...]
H A Dsp-offset.cpp1039 guint mode = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_PARALLEL); local
1043 if (!(m.isTranslation()) || mode == SP_CLONE_COMPENSATION_NONE) {
1056 if (mode == SP_CLONE_COMPENSATION_PARALLEL) {
1059 } else if (mode == SP_CLONE_COMPENSATION_UNMOVED) {
1078 guint const mode = prefs->getInt("/options/cloneorphans/value", SP_CLONE_ORPHANS_UNLINK); local
1080 if (mode == SP_CLONE_ORPHANS_UNLINK) {
1090 } else if (mode == SP_CLONE_ORPHANS_DELETE) {
1159 const gchar *val; local
1167 val = sp_repr_css_property (css, "fill-rule", NULL);
1169 if (val
[all...]
H A Ddesktop.h185 bool _quick_zoom_enabled; ///< Signifies that currently we're in quick zoom mode
266 void _setDisplayMode(Inkscape::RenderMode mode);
280 void _setDisplayColorMode(Inkscape::ColorMode mode);
348 /** \brief Returns whether the desktop is in quick zoom mode or not */
372 void setToolboxAdjustmentValue (gchar const* id, double val);
373 void setToolboxSelectOneValue (gchar const* id, gint val);
404 void focusMode(bool mode = true);
493 mode:c++
496 indent-tabs-mode:nil
H A Dpreferences.cpp307 int mode = S_IRWXU; local
309 mode |= S_IRGRP;
312 mode |= S_IXGRP;
315 mode |= S_IXOTH;
317 if ( g_mkdir_with_parents(prefdir.c_str(), mode) == -1 ) {
571 Entry const val = Preferences::_create_pref_value(notify_path, static_cast<void const*>(new_value.pointer())); local
572 _observer.notify(val);
782 double val = _extractDouble(v); local
787 return val;
789 return val * (unit_tabl
[all...]
H A Dinkscape.cpp1173 // Document is not associated with any desktops - maybe we're in command-line mode
1237 gchar const *val = g_getenv("INKSCAPE_PORTABLE_PROFILE_DIR"); local
1238 if (val) {
1239 prefdir = g_strdup(val);
1315 int mode = S_IRWXU; local
1317 mode |= S_IRGRP;
1320 mode |= S_IXGRP;
1323 mode |= S_IXOTH;
1325 if ( g_mkdir_with_parents(prefdir, mode) == -1 ) {
1332 g_mkdir_with_parents(dir, mode);
[all...]
H A Ddesktop.cpp225 // Start in outline mode
228 // Start in normal mode, default
497 void SPDesktop::_setDisplayMode(Inkscape::RenderMode mode) { argument
498 SP_CANVAS_ARENA (drawing)->drawing.setRenderMode(mode);
499 canvas->_rendermode = mode;
500 _display_mode = mode;
504 void SPDesktop::_setDisplayColorMode(Inkscape::ColorMode mode) { argument
506 if (mode == Inkscape::COLORMODE_GRAYSCALE) {
519 SP_CANVAS_ARENA (drawing)->drawing.setColorMode(mode);
520 canvas->_colorrendermode = mode;
1264 focusMode(bool mode) argument
1402 setToolboxAdjustmentValue(gchar const* id, double val) argument
1408 setToolboxSelectOneValue(gchar const* id, gint val) argument
[all...]
/inkscape/src/live_effects/parameter/
H A Dtransformedpoint.cpp58 double val[4]; local
61 if (sp_svg_number_read_d(strarray[i], &val[i]) != 0) {
69 setOrigin( Geom::Point(val[0], val[1]) );
70 setVector( Geom::Point(val[2], val[3]) );
126 TransformedPointParam::set_vector_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color) argument
129 vec_knot_mode = mode;
175 mode:c++
178 indent-tabs-mode
[all...]
H A Dvector.cpp59 double val[4]; local
62 if (sp_svg_number_read_d(strarray[i], &val[i]) != 0) {
70 setOrigin( Geom::Point(val[0], val[1]) );
71 setVector( Geom::Point(val[2], val[3]) );
125 VectorParam::set_vector_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color) argument
128 vec_knot_mode = mode;
133 VectorParam::set_origin_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color) argument
136 ori_knot_mode = mode;
[all...]
/inkscape/src/ui/tools/
H A Dtweak-tool.cpp113 , mode(0)
136 static bool is_transform_mode (gint mode) argument
138 return (mode == TWEAK_MODE_MOVE ||
139 mode == TWEAK_MODE_MOVE_IN_OUT ||
140 mode == TWEAK_MODE_MOVE_JITTER ||
141 mode == TWEAK_MODE_SCALE ||
142 mode == TWEAK_MODE_ROTATE ||
143 mode == TWEAK_MODE_MORELESS);
146 static bool is_color_mode (gint mode) argument
148 return (mode
299 set(const Inkscape::Preferences::Entry& val) argument
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
551 gchar const *val = sp_repr_css_property(css, "fill-rule", NULL); local
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
1118 sp_tweak_switch_mode(TweakTool *tc, gint mode, bool with_shift) argument
1127 sp_tweak_switch_mode_temporarily(TweakTool *tc, gint mode, bool with_shift) argument
[all...]
H A Dspray-tool.cpp92 // with the mode: spray object in single path)
171 , mode(0)
219 switch (this->mode) {
270 sp_event_context_read(this, "mode");
303 void SprayTool::set(const Inkscape::Preferences::Entry& val) { argument
304 Glib::ustring path = val.getEntryName();
306 if (path == "mode") {
307 this->mode = val.getInt();
310 this->width = 0.01 * CLAMP(val
456 randomize01(double val, double rand) argument
490 fit_item(SPDesktop *desktop, SPItem *item, Geom::OptRect bbox, Geom::Point &move, Geom::Point center, gint mode, double angle, double &_scale, double scale, bool picker, bool pick_center, bool pick_inverse_value, bool pick_fill, bool pick_stroke, bool pick_no_overlap, bool over_no_transparent, bool over_transparent, bool no_overlap, double offset, SPCSSAttr *css, bool trace_scale, int pick, bool do_trace, bool pick_to_size, bool pick_to_presence, bool pick_to_color, bool pick_to_opacity, bool invert_picked, double gamma_picked , double rand_picked) argument
684 gdouble val = 0; local
864 sp_spray_recursive(SPDesktop *desktop, Inkscape::Selection *selection, SPItem *item, Geom::Point p, Geom::Point , gint mode, double radius, double population, double &scale, double scale_variation, bool , double mean, double standard_deviation, double ratio, double tilt, double rotation_variation, gint _distrib, bool no_overlap, bool picker, bool pick_center, bool pick_inverse_value, bool pick_fill, bool pick_stroke, bool pick_no_overlap, bool over_no_transparent, bool over_transparent, double offset, bool usepressurescale, double pressure, int pick, bool do_trace, bool pick_to_size, bool pick_to_presence, bool pick_to_color, bool pick_to_opacity, bool invert_picked, double gamma_picked , double rand_picked) argument
1243 sp_spray_switch_mode(SprayTool *tc, gint mode, bool with_shift) argument
[all...]
H A Dtweak-tool.h61 gint mode; member in class:Inkscape::UI::Tools::TweakTool
80 virtual void set(const Inkscape::Preferences::Entry& val);
99 mode:c++
102 indent-tabs-mode:nil
H A Dlpe-tool.h55 Inkscape::LivePathEffect::EffectType mode; member in class:Inkscape::UI::Tools::LpeTool
68 virtual void set(const Inkscape::Preferences::Entry& val);
92 mode:c++
95 indent-tabs-mode:nil
H A Dspray-tool.h85 gint mode; member in class:Inkscape::UI::Tools::SprayTool
117 virtual void set(const Inkscape::Preferences::Entry& val);
135 mode:c++
138 indent-tabs-mode:nil
H A Dpen-tool.h47 Mode mode; member in class:Inkscape::UI::Tools::PenTool
52 // propiety which saves if Spiro mode is active or not
81 virtual void set(const Inkscape::Preferences::Entry& val);
92 void _penContextSetMode(guint mode);
101 //continues the existing curve in bspline or spiro mode
105 //continues an existing curve with the union node in CUSP mode
109 //closes the curve with the last node in bspline or spiro mode
111 //closes the curve with the last node in CUSP mode
153 mode:c++
156 indent-tabs-mode
[all...]
H A Dlpe-tool.cpp77 , mode(Inkscape::LivePathEffect::BEND_PATH)
142 void LpeTool::set(const Inkscape::Preferences::Entry& val) { argument
143 if (val.getEntryName() == "mode") {
144 Inkscape::Preferences::get()->setString("/tools/geometric/mode", "drag");
145 SP_PEN_CONTEXT(this)->mode = PenTool::MODE_DRAG;
191 if (this->mode == Inkscape::LivePathEffect::INVALID_LPE) {
208 int mode = prefs->getInt("/tools/lpetool/mode"); local
209 EffectType type = lpesubtools[mode]
[all...]
H A Dpen-tool.cpp86 static int pen_last_paraxial_dir = 0; // last used direction in horizontal/vertical mode; 0 = horizontal, 1 = vertical
99 , mode(MODE_CLICK)
119 , mode(MODE_CLICK)
161 guint mode = prefs->getInt("/tools/freehand/pen/freehand-mode", 0); local
162 // change the nodes to make space for bspline mode
163 this->polylines_only = (mode == 3 || mode == 4);
164 this->polylines_paraxial = (mode == 4);
167 this->_penContextSetMode(mode);
173 _penContextSetMode(guint mode) argument
246 set(const Inkscape::Preferences::Entry& val) argument
[all...]
/inkscape/share/extensions/
H A Drender_barcode_qrcode.py21 # adapting for Inkscape extension, SVG output, Auto mode
33 self.mode = QRMode.MODE_8BIT_BYTE
285 buffer.put(data.mode, 4)
286 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, tn) )
315 buffer.put(data.mode, 4)
316 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) )
523 def getLengthInBits(mode, type):
529 if mode == QRMode.MODE_NUMBER : return 10
530 if mode == QRMode.MODE_ALPHA_NUM : return 9
531 if mode
[all...]
H A Dsynfig_output.py632 val = g["stops"][pos]
634 new_stops[pos/2.0] = val
636 new_stops[pos/2.0] = val
637 new_stops[1 - pos/2.0] = val
1215 mode = child.get("mode", "normal")
1216 if mode == "normal":
1218 elif mode == "multiply":
1220 elif mode == "screen":
1222 elif mode
[all...]
/inkscape/src/extension/param/
H A Dradiobutton.cpp47 optionentry (Glib::ustring * val, Glib::ustring * text) { argument
48 value = val;
68 AppearanceMode mode) :
70 _value(0), _mode(mode), _indent(0), choices(0)
99 const char * val = child_repr->attribute("value"); local
100 if (val != NULL) {
101 newvalue = new Glib::ustring(val);
376 mode:c++
379 indent-tabs-mode:nil
60 ParamRadioButton(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml, AppearanceMode mode) argument
/inkscape/src/ui/dialog/
H A Dinput.cpp351 Gtk::TreeModelColumn<Gdk::InputMode> mode; member in class:Inkscape::UI::Dialog::DeviceModelColumns
353 DeviceModelColumns() { add(toggler), add(expander), add(description); add(thumbnail); add(device); add(mode); }
855 // GdkExtensionMode mode);
959 Gdk::InputMode mode = getStringToMode()[newText]; local
960 Inkscape::DeviceManager::getManager().setMode( dev->getId(), mode );
1033 deviceRow[getCols().mode] = dev->getMode();
1063 deviceRow[getCols().mode] = dev->getMode();
1245 Gdk::InputMode mode = (*iter)[getCols().mode]; local
1246 if (dev && (getModeToString().find(mode) !
1261 Gdk::InputMode mode = getStringToMode()[newText]; local
1276 Gdk::InputMode mode = (*iter)[getCols().mode]; local
1291 Gdk::InputMode mode = (*iter)[getCols().mode]; local
1307 Glib::ustring val = row[getCols().description]; local
1309 Gdk::InputMode mode = (*iter)[getCols().mode]; local
1371 Gdk::InputMode mode = device->getMode(); local
1537 Glib::ustring val = row[getCols().description]; local
1563 Glib::ustring val = row[getCols().description]; local
1687 Glib::ustring val = row[getCols().description]; local
[all...]
/inkscape/src/extension/internal/
H A Dmetafile-print.cpp228 int val; local
237 val = 0;
239 val = 10 * val + *name - '0';
242 *hatchType = val;
243 if (*name != '_' || val > U_HS_DITHEREDBKCLR) { // wrong syntax, cannot classify
325 int PrintMetafile::hold_gradient(void *gr, int mode) argument
327 gv.mode = mode;
329 if (mode
[all...]
/inkscape/src/ui/widget/
H A Dgimpcolorwheel.c88 /* Dragging mode */
89 DragMode mode; member in struct:__anon137
717 priv->mode = DRAG_NONE;
730 if (priv->mode != DRAG_NONE || event->button != 1)
738 priv->mode = DRAG_H;
756 priv->mode = DRAG_SV;
777 DragMode mode; local
780 if (priv->mode == DRAG_NONE || event->button != 1)
783 /* Set the drag mode to DRAG_NONE so that signal handlers for "catched"
787 mode
1535 gdouble hue, sat, val; local
[all...]
H A Dcolor-scales.cpp48 ColorScales::ColorScales(SelectedColor &color, SPColorScalesMode mode) argument
66 _initUI(mode);
82 void ColorScales::_initUI(SPColorScalesMode mode) argument
179 /* Initial mode is none, so it works */
180 setMode(mode);
206 g_warning("file %s: line %d: Illegal color selector mode %d", __FILE__, __LINE__, _mode);
242 g_warning("file %s: line %d: Illegal color selector mode %d", __FILE__, __LINE__, _mode);
259 gfloat val = gtk_adjustment_get_value(const_cast<GtkAdjustment *>(a)) / local
261 return val;
266 gfloat val local
363 setMode(SPColorScalesMode mode) argument
[all...]

Completed in 80 milliseconds

12