/inkscape/src/display/ |
H A D | nr-filter-blend.cpp | 166 void FilterBlend::set_mode(FilterBlendMode mode) { argument 167 if (mode == BLEND_NORMAL || mode == BLEND_MULTIPLY || 168 mode == BLEND_SCREEN || mode == BLEND_DARKEN || 169 mode == BLEND_LIGHTEN || mode == BLEND_OVERLAY || 170 mode == BLEND_COLORDODGE || mode == BLEND_COLORBURN || 171 mode [all...] |
H A D | nr-filter-blend.h | 59 void set_mode(FilterBlendMode mode); 76 mode:c++ 79 indent-tabs-mode:nil
|
H A D | nr-filter-convolve-matrix.h | 47 void set_edgeMode(FilterConvolveMatrixEdgeMode mode); 66 mode:c++ 69 indent-tabs-mode:nil
|
H A D | drawing.h | 56 void setRenderMode(RenderMode mode); 57 void setColorMode(ColorMode mode); 115 mode:c++ 118 indent-tabs-mode:nil
|
/inkscape/src/filters/ |
H A D | blend.cpp | 47 this->readAttr( "mode" ); 122 std::cout << "Inkscape::Filters::FilterBlendMode: Unimplemented mode: " << value << std::endl; 134 Inkscape::Filters::FilterBlendMode mode; local 140 mode = sp_feBlend_readmode(value); 142 if (mode != this->blend_mode) { 143 this->blend_mode = mode; 166 this->readAttr( "mode" ); 221 char const *mode; local 224 mode = "normal"; break; 226 mode [all...] |
/inkscape/src/ |
H A D | selcue.cpp | 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 == NONE) { 159 if (mode == MARK) { 162 "mode", SP_CTRL_MODE_XO 238 gint mode = prefs->getInt("/options/selcue/value", MARK); local [all...] |
H A D | sp-use-reference.cpp | 134 guint mode = prefs->getInt("/options/clonecompensation/value", SP_CLONE_COMPENSATION_PARALLEL); local 135 if (mode == SP_CLONE_COMPENSATION_NONE) { 151 if (mode == SP_CLONE_COMPENSATION_PARALLEL) { 154 } else if (mode == SP_CLONE_COMPENSATION_UNMOVED) { 177 guint const mode = prefs->getInt("/options/cloneorphans/value", SP_CLONE_ORPHANS_UNLINK); local 179 if (mode == SP_CLONE_ORPHANS_UNLINK) { 185 } else if (mode == SP_CLONE_ORPHANS_DELETE) { 235 mode:c++ 238 indent-tabs-mode:nil
|
H A D | filter-chemistry.h | 28 SPFilter *new_filter_simple_from_item (SPDocument *document, SPItem *item, const char *mode, double stdDeviation); 39 mode:c++ 42 indent-tabs-mode:nil
|
H A D | selcue.h | 55 void _updateItemBboxes(int mode, int prefs_bbox); 77 mode:c++ 80 indent-tabs-mode:nil
|
/inkscape/src/widgets/ |
H A D | paint-selector.cpp | 75 static GtkWidget *sp_paint_selector_style_button_add(SPPaintSelector *psel, gchar const *px, SPPaintSelector::Mode mode, gchar const *tip); 82 static void sp_paint_selector_set_mode_color(SPPaintSelector *psel, SPPaintSelector::Mode mode); 83 static void sp_paint_selector_set_mode_gradient(SPPaintSelector *psel, SPPaintSelector::Mode mode); 84 static void sp_paint_selector_set_mode_pattern(SPPaintSelector *psel, SPPaintSelector::Mode mode); 85 static void sp_paint_selector_set_mode_swatch(SPPaintSelector *psel, SPPaintSelector::Mode mode); 111 static bool isPaintModeGradient(SPPaintSelector::Mode mode) argument 113 bool isGrad = (mode == SPPaintSelector::MODE_GRADIENT_LINEAR) || 114 (mode == SPPaintSelector::MODE_GRADIENT_RADIAL) || 116 (mode == SPPaintSelector::MODE_GRADIENT_MESH) || 118 (mode 320 sp_paint_selector_style_button_add(SPPaintSelector *psel, gchar const *pixmap, SPPaintSelector::Mode mode, gchar const *tip) argument 392 setMode(Mode mode) argument 751 sp_paint_selector_set_mode_gradient(SPPaintSelector *psel, SPPaintSelector::Mode mode) argument 1032 sp_paint_selector_set_mode_pattern(SPPaintSelector *psel, SPPaintSelector::Mode mode) argument 1179 sp_paint_selector_set_mode_swatch(SPPaintSelector *psel, SPPaintSelector::Mode mode) argument 1244 Mode mode = MODE_UNSET; local [all...] |
H A D | tweak-toolbar.cpp | 76 int mode = ege_select_one_action_get_active( act ); local 78 prefs->setInt("/tools/tweak/mode", mode); 81 bool flag = ((mode == Inkscape::UI::Tools::TWEAK_MODE_COLORPAINT) || (mode == Inkscape::UI::Tools::TWEAK_MODE_COLORJITTER)); 163 0, _("Move mode"), 170 0, _("Move in/out mode"), 177 0, _("Move jitter mode"), 184 0, _("Scale mode"), 191 0, _("Rotate mode"), 265 gint mode = prefs->getInt("/tools/tweak/mode", 0); local 272 guint mode = prefs->getInt("/tools/tweak/mode", 0); local [all...] |
H A D | paint-selector.h | 71 Mode mode; member in struct:SPPaintSelector 96 void setMode( Mode mode ); 139 void (* mode_changed) (SPPaintSelector *psel, SPPaintSelector::Mode mode); 158 mode:c++ 161 indent-tabs-mode:nil
|
H A D | fill-style.cpp | 74 void setFillrule( SPPaintSelector::FillRule mode ); 79 static void paintModeChangeCB(SPPaintSelector *psel, SPPaintSelector::Mode mode, FillNStroke *self); 84 static void fillruleChangedCB( SPPaintSelector *psel, SPPaintSelector::FillRule mode, FillNStroke *self ); 321 * When the mode is changed, invoke a regular changed handler. 324 SPPaintSelector::Mode /*mode*/, 328 g_message("paintModeChangeCB(psel, mode, self:%p)", self); 336 SPPaintSelector::FillRule mode, 340 self->setFillrule(mode); 344 void FillNStroke::setFillrule( SPPaintSelector::FillRule mode ) 348 sp_repr_css_set_property(css, "fill-rule", (mode 335 fillruleChangedCB( SPPaintSelector * , SPPaintSelector::FillRule mode, FillNStroke *self ) argument [all...] |
/inkscape/src/ui/widget/ |
H A D | color-scales.h | 42 ColorScales(SelectedColor &color, SPColorScalesMode mode); 45 virtual void _initUI(SPColorScalesMode mode); 47 void setMode(SPColorScalesMode mode); 105 mode:c++ 108 indent-tabs-mode:nil
|
/inkscape/src/ui/tools/ |
H A D | tweak-tool.cpp | 113 , 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 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 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...] |
/inkscape/src/libavoid/ |
H A D | geomtypes.cpp | 273 const unsigned int mode, const double shorten_length) 275 if (mode == SHORTEN_NONE) 287 if ((mode == SHORTEN_BOTH) && 295 else if ((mode == SHORTEN_START) && 303 else if ((mode == SHORTEN_END) && 318 if (mode & SHORTEN_START) 322 if (mode & SHORTEN_END) 333 if (mode & SHORTEN_START) 337 if (mode & SHORTEN_END) 349 if (mode 159 COLA_ASSERT(index < size()); const Polygon& poly = *(ps[index].first); unsigned short poly_index = ps[index].second; COLA_ASSERT(poly_index < poly.size()); return poly.ps[poly_index]; } void PolygonInterface::getBoundingRect(double *minX, double *minY, double *maxX, double *maxY) const { double progressiveMinX = DBL_MAX; double progressiveMinY = DBL_MAX; double progressiveMaxX = -DBL_MAX; double progressiveMaxY = -DBL_MAX; for (size_t i = 0; i < size(); ++i) { progressiveMinX = std::min(progressiveMinX, at(i).x); progressiveMinY = std::min(progressiveMinY, at(i).y); progressiveMaxX = std::max(progressiveMaxX, at(i).x); progressiveMaxY = std::max(progressiveMaxY, at(i).y); } if (minX) { *minX = progressiveMinX; } if (maxX) { *maxX = progressiveMaxX; } if (minY) { *minY = progressiveMinY; } if (maxY) { *maxY = progressiveMaxY; } } Polygon::Polygon() : PolygonInterface() { clear(); } Polygon::Polygon(const int pn) : PolygonInterface(), ps(pn) { } Polygon::Polygon(const PolygonInterface& poly) : PolygonInterface(), _id(poly.id()), ps(poly.size()) { for (size_t i = 0; i < poly.size(); ++i) { ps[i] = poly.at(i); } } void Polygon::clear(void) { ps.clear(); ts.clear(); } bool Polygon::empty(void) const { return ps.empty(); } size_t Polygon::size(void) const { return ps.size(); } int Polygon::id(void) const { return _id; } const Point& Polygon::at(size_t index) const { COLA_ASSERT(index < size()); return ps[index]; } static const unsigned int SHORTEN_NONE = 0; static const unsigned int SHORTEN_START = 1; static const unsigned int SHORTEN_END = 2; static const unsigned int SHORTEN_BOTH = SHORTEN_START | SHORTEN_END; static void shorten_line(double& x1, double& y1, double& x2, double& y2, const unsigned int mode, const double shorten_length) { if (mode == SHORTEN_NONE) { return; } double rise = y1 - y2; double run = x1 - x2; double disty = fabs(rise); double distx = fabs(run); if ((mode == SHORTEN_BOTH) && (((distx > disty) && ((shorten_length * 2) > distx)) || ((disty >= distx) && ((shorten_length * 2) > disty)))) { x1 = x2 = x1 - (run / 2); y1 = y2 = y1 - (rise / 2); return; } else if ((mode == SHORTEN_START) && (((distx > disty) argument 476 unsigned int mode = SHORTEN_BOTH; local [all...] |
/inkscape/src/io/ |
H A D | sys.cpp | 98 FILE *Inkscape::IO::fopen_utf8name( char const *utf8name, char const *mode ) 103 DEBUG_MESSAGE( dumpOne, "entering fopen_utf8name( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 106 DEBUG_MESSAGE( dumpOne, " STEP 0 ( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 110 DEBUG_MESSAGE( dumpOne, " STEP 1 ( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 111 fp = std::fopen(filename, mode); 112 DEBUG_MESSAGE( dumpOne, " STEP 2 ( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 114 DEBUG_MESSAGE( dumpOne, " STEP 3 ( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 118 Glib::ustring how( mode ); 120 DEBUG_MESSAGE( dumpOne, " calling is_os_wide() ( '%s', '%s' )[%d]", utf8name, mode, (counter++) ); 125 DEBUG_MESSAGE( dumpOne, "leaving fopen_utf8name( '%s', '%s' )[%d]", utf8name, mode, (counte [all...] |
H A D | uristream.cpp | 40 static FILE *fopen_utf8name( char const *utf8name, int mode ) 47 if (mode!=FILE_READ && mode!=FILE_WRITE) 55 if (mode == FILE_READ) 65 if (mode == FILE_READ)
|
/inkscape/src/extension/param/ |
H A D | description.h | 40 AppearanceMode mode); 57 mode:c++ 60 indent-tabs-mode:nil
|
H A D | description.cpp | 37 AppearanceMode mode) : 39 _value(NULL), _mode(mode), _indent(0) 29 ParamDescription(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/live_effects/parameter/ |
H A D | vector.h | 51 void set_vector_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color); 52 void set_origin_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color);
|
/inkscape/share/extensions/ |
H A D | render_barcode_qrcode.py | 21 # 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 D | triangle.py | 117 self.OptionParser.add_option("--mode", 119 dest="mode", default='3_sides', 131 if self.options.mode == '3_sides': 137 elif self.options.mode == 's_ab_a_c': 145 elif self.options.mode == 's_ab_a_a': 175 elif self.options.mode == 's_a_a_ab': 186 elif self.options.mode == 's_c_a_ab':
|
H A D | extrude.py | 30 opts = [('-m', '--mode', 'string', 'mode', 'Lines', 64 if self.options.mode.lower() == 'lines': 74 elif self.options.mode.lower() == 'polygons':
|
/inkscape/packaging/macosx/Resources/etc/fonts/ |
H A D | fonts.conf | 44 <edit name="family" mode="assign" binding="same"> 56 <edit name="family" mode="assign" binding="same"> 68 <edit name="family" mode="assign" binding="same">
|