/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 | sodipodi-ctrl.h | 38 SPCtrlModeType mode; member in struct:SPCtrl 71 mode:c++ 74 indent-tabs-mode:nil
|
H A D | drawing.cpp | 106 Drawing::setRenderMode(RenderMode mode) argument 108 _rendermode = mode; 111 Drawing::setColorMode(ColorMode mode) argument 113 _colormode = mode; 233 mode:c++ 236 indent-tabs-mode:nil
|
/inkscape/src/extension/param/ |
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
|
H A D | float.cpp | 38 AppearanceMode mode) : 40 _value(0.0), _mode(mode), _indent(0), _min(0.0), _max(10.0) 30 ParamFloat(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
|
H A D | int.cpp | 38 AppearanceMode mode) : 40 _value(0), _mode(mode), _indent(0), _min(0), _max(10) 208 mode:c++ 211 indent-tabs-mode:nil 30 ParamInt(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/tools/ |
H A D | lpe-tool.h | 55 Inkscape::LivePathEffect::EffectType mode; member in class:Inkscape::UI::Tools::LpeTool 92 mode:c++ 95 indent-tabs-mode:nil
|
H A D | pen-tool.h | 47 Mode mode; member in class:Inkscape::UI::Tools::PenTool 52 // propiety which saves if Spiro mode is active or not 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:nil
|
H A D | tweak-tool.h | 61 gint mode; member in class:Inkscape::UI::Tools::TweakTool 99 mode:c++ 102 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/live_effects/ |
H A D | lpe-mirror_symmetry.h | 58 EnumParam<ModeType> mode; member in class:Inkscape::LivePathEffect::LPEMirrorSymmetry
|
/inkscape/src/ |
H A D | rubberband.cpp | 124 void Inkscape::Rubberband::setMode(int mode) argument 126 _mode = mode; 154 mode:c++ 157 indent-tabs-mode:nil
|
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 | knot.h | 60 SPKnotModeType mode; member in class:SPKnot 171 mode:c++ 174 indent-tabs-mode:nil
|
/inkscape/src/ui/tool/ |
H A D | transform-handle-set.h | 46 Mode mode() const { return _mode; } function in class:Inkscape::UI::TransformHandleSet 50 /** Sets the mode of transform handles (scale or rotate). */ 134 mode:c++ 137 indent-tabs-mode:nil
|
/inkscape/src/widgets/ |
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...] |
/inkscape/src/extension/internal/ |
H A D | metafile-print.h | 65 int mode; // DRAW_LINEAR_GRADIENT or DRAW_RADIAL_GRADIENT, if GRADVALUES is valid, else any value member in struct:Inkscape::Extension::Internal::PrintMetafile::GRADVALUES 103 int hold_gradient(void *gr, int mode); 129 mode:c++ 132 indent-tabs-mode:nil
|
/inkscape/src/inkgc/ |
H A D | gc.cpp | 171 InvalidGCModeError(const char *mode) argument 172 : runtime_error(std::string("Unknown GC mode \"") + mode + "\"") 305 mode:c++ 308 indent-tabs-mode:nil
|
/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/live_effects/parameter/ |
H A D | point.cpp | 142 PointParam::set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color) argument 145 knot_mode = mode; 220 mode:c++ 223 indent-tabs-mode:nil
|
H A D | powerstrokepointarray.cpp | 118 PowerStrokePointArrayParam::set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color) argument 121 knot_mode = mode; 268 mode:c++ 271 indent-tabs-mode:nil
|
H A D | transformedpoint.cpp | 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:nil
|
H A D | vector.cpp | 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; 208 mode:c++ 211 indent-tabs-mode:nil
|
/inkscape/src/extension/internal/filter/ |
H A D | transparency.h | 39 * Mode (enum, all blend modes, default Multiply) -> blend (mode) 59 "<param name=\"mode\" gui-text=\"" N_("Mode:") "\" type=\"enum\">\n" 86 std::ostringstream mode; local 89 mode << ext->get_param_enum("mode"); 93 "<feBlend in2=\"%s\" mode=\"%s\" result=\"blend\" />\n" 94 "</filter>\n", source.str().c_str(), mode.str().c_str() );
|