/inkscape/src/ |
H A D | sp-marker.cpp | 2 * SVG <marker> implementation 27 #include "sp-marker.h" 61 * Initializes an SPMarker object. This notes the marker's viewBox is 62 * not set and initializes the marker's c2p identity matrix. 96 * as the marker is removed from the tree, even if it is still referenced 97 * by other objects. It hides and removes any views of the marker, then 232 repr = xml_doc->createElement("svg:marker"); 317 * Removes any SPMarkerViews that a marker has with a specific key. 320 * removes the old view of the marker and establishes a new one, registering 321 * it with the marker' 330 sp_marker_show_dimension(SPMarker *marker, unsigned int key, unsigned int size) argument 355 sp_marker_show_instance( SPMarker *marker, Inkscape::DrawingItem *parent, unsigned int key, unsigned int pos, Geom::Affine const &base, float linewidth) argument 420 sp_marker_hide(SPMarker *marker, unsigned int key) argument 466 sp_marker_fork_if_necessary(SPObject *marker) argument [all...] |
H A D | sp-marker.h | 5 * SVG <marker> implementation 67 * particular marker type (start, mid, end) on a particular 70 * rendered marker. 99 void sp_marker_show_dimension (SPMarker *marker, unsigned int key, unsigned int size); 100 Inkscape::DrawingItem *sp_marker_show_instance (SPMarker *marker, Inkscape::DrawingItem *parent, 103 void sp_marker_hide (SPMarker *marker, unsigned int key); 105 SPObject *sp_marker_fork_if_necessary(SPObject *marker);
|
H A D | sp-shape.cpp | 38 #include "sp-marker.h" 132 /* This stanza checks that an object's marker style agrees with 133 * the marker objects it has allocated. sp_shape_set_marker ensures 134 * that the appropriate marker objects are present (or absent) to 176 /* Dimension marker views */ 191 /* Update marker views */ 196 // Marker selector needs this here or marker previews are not rendered. 206 * Calculate the transform required to get a marker's path object in the 212 * The axes of the temporary new user coordinate system are aligned according to the orient attribute on the 'marker' 284 * Updates the instances (views) of a given marker i 487 SPMarker* marker = _marker[i]; local 525 SPMarker* marker = _marker[i]; local 572 SPMarker* marker = _marker[i]; local 615 SPMarker *marker = SP_MARKER(obj); local 897 sp_shape_marker_release(SPObject *marker, SPShape *shape) argument 945 SPMarker *marker = dynamic_cast<SPMarker *>(mrk); local [all...] |
H A D | style.h | 243 SPIString marker; member in class:SPStyle
|
H A D | style.cpp | 194 marker( "marker" ), // SPIString 195 marker_start( "marker-start" ), // SPIString 196 marker_mid( "marker-mid" ), // SPIString 197 marker_end( "marker-end" ), // SPIString 278 marker_ptrs[SP_MARKER_LOC] = ▮ 361 _properties.push_back( &marker ); 458 // _propmap.insert( std::make_pair( marker.name, reinterpret_cast<SPIBasePtr>(&SPStyle::marker ) ) ); 611 _properties[i]->name.compare( "marker" ) ! [all...] |
H A D | splivarot.cpp | 28 #include "sp-marker.h" 854 SPMarker* marker = SP_MARKER (marker_object); local 862 if (marker->markerUnits == SP_MARKER_UNITS_STROKEWIDTH) { 866 // total marker transform 867 tr = marker_item->transform * marker->c2p * tr * transform; 883 // note: a marker child item can be an item group! 907 SPMarker const * marker = SP_MARKER(marker_object); local 910 if (marker->markerUnits == SP_MARKER_UNITS_STROKEWIDTH) { 913 // total marker transform 914 tr = marker [all...] |
H A D | desktop-style.cpp | 771 style->marker.set || // stroke width affects markers, so if there's no
|
H A D | selection-chemistry.cpp | 44 #include "sp-marker.h" 2140 int len = sizeof(sel_style->marker)/sizeof(SPIString); 2930 desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>object(s)</b> to convert to marker.")); 2970 // Create a list of duplicates, to be pasted inside marker element. 2981 // the objects will be restored inside the marker element. 3004 _("Objects to marker")); 3069 * Move objects inside symbol so bbox corner at 0,0 (see marker/pattern)
|
/inkscape/src/widgets/ |
H A D | stroke-marker-selector.cpp | 19 #include "stroke-marker-selector.h" 34 #include "sp-marker.h" 64 sp_pixbuf_new( Inkscape::ICON_SIZE_SMALL_TOOLBAR, INKSCAPE_ICON("no-marker") ) ) ); 127 const char *active = get_active()->get_value(marker_columns.marker); 149 active = get_active()->get_value(marker_columns.marker); 155 row[marker_columns.marker] = g_strdup("None"); 170 row_sep[marker_columns.marker] = g_strdup("None"); 202 * Sets the current marker in the marker combobox. 204 void MarkerComboBox::set_current(SPObject *marker) argument 232 gchar const *marker = ""; local 263 SPObject const *marker = doc->getObjectById(markid); local 467 SPObject const *marker = source->getObjectById(mname); local [all...] |
H A D | stroke-marker-selector.h | 42 void set_current(SPObject *marker); 68 Gtk::TreeModelColumn<const gchar *> marker; // ustring doesnt work here on windows due to unicode member in class:MarkerComboBox::MarkerColumns 75 add(label); add(stock); add(marker); add(history); add(separator); add(image);
|
H A D | stroke-style.cpp | 88 SPObject *marker = doc->getObjectById(b); local 91 return marker; 247 /* Drop down marker selectors*/ 256 startMarkerCombo = Gtk::manage(new MarkerComboBox("marker-start", SP_MARKER_LOC_START)); 265 midMarkerCombo = Gtk::manage(new MarkerComboBox("marker-mid", SP_MARKER_LOC_MID)); 274 endMarkerCombo = Gtk::manage(new MarkerComboBox("marker-end", SP_MARKER_LOC_END)); 483 * Handles when user selects one of the markers from the marker combobox. 484 * Gets the marker uri string and applies it to all selected 505 gchar const *marker = marker_combo->get_active_marker_uri(); local 510 sp_repr_css_set_property(css, combo_id, marker); 609 forkMarker(SPObject *marker, int loc, SPItem *item) argument 657 setMarkerColor(SPObject *marker, int loc, SPItem *item) argument 1296 SPObject *marker = getMarkerObj(object->style->marker_ptrs[keyloc[i].loc]->value, object->document); local [all...] |
H A D | stroke-style.h | 46 #include "sp-marker.h" 68 #include "stroke-marker-selector.h" 91 {"marker-all", SP_MARKER_LOC}, 92 {"marker-start", SP_MARKER_LOC_START}, 93 {"marker-mid", SP_MARKER_LOC_MID}, 94 {"marker-end", SP_MARKER_LOC_END}, 168 void setMarkerColor(SPObject *marker, int loc, SPItem *item); 169 SPObject *forkMarker(SPObject *marker, int loc, SPItem *item);
|
H A D | ege-adjustment-action.cpp | 627 EgeAdjustmentDescr* marker = 0; local 637 marker = descr; 644 ((marker && marker->descr) ? ": " : ""), 645 ((marker && marker->descr) ? marker->descr : ""));
|
/inkscape/share/extensions/ |
H A D | dimension.py | 16 extensions library, and marker data from markers.svg. 69 marker = inkex.etree.SubElement(defs ,inkex.addNS('marker','svg')) 70 marker.set('id', name) 71 marker.set('orient', 'auto') 72 marker.set('refX', '0.0') 73 marker.set('refY', '0.0') 74 marker.set('style', 'overflow:visible') 75 marker.set(inkex.addNS('stockid','inkscape'), name) 83 arrow.set('style', 'fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker [all...] |
H A D | dxf_input.py | 260 attribs = {'d': path, 'style': style + '; marker-start: url(#DistanceX); marker-end: url(#DistanceX); stroke-width: 0.25px'} 364 marker = inkex.etree.SubElement(defs, 'marker', {'id': 'DistanceX', 'orient': 'auto', 'refX': '0.0', 'refY': '0.0', 'style': 'overflow:visible'}) variable 365 inkex.etree.SubElement(marker, 'path', {'d': 'M 3,-3 L -3,3 M 0,-5 L 0,5', 'style': 'stroke:#000000; stroke-width:0.5'})
|
H A D | gcodetools.py | 163 "in_out_path_style" : simplestyle.formatStyle({ 'stroke': '#0072a7', 'fill': 'none', 'stroke-width':'1', 'marker-mid':'url(#InOutPathMarker)' }), 166 'main curve': simplestyle.formatStyle({ 'stroke': '#88f', 'fill': 'none', 'stroke-width':'1', 'marker-end':'url(#Arrow2Mend)' }), 169 'biarc0': simplestyle.formatStyle({ 'stroke': '#88f', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 170 'biarc1': simplestyle.formatStyle({ 'stroke': '#8f8', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 171 'line': simplestyle.formatStyle({ 'stroke': '#f88', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 172 'area': simplestyle.formatStyle({ 'stroke': '#777', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'0.1' }), 175 'biarc0': simplestyle.formatStyle({ 'stroke': '#33a', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 176 'biarc1': simplestyle.formatStyle({ 'stroke': '#3a3', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 177 'line': simplestyle.formatStyle({ 'stroke': '#a33', 'fill': 'none', "marker-end":"url(#DrawCurveMarker)", 'stroke-width':'1' }), 178 'area': simplestyle.formatStyle({ 'stroke': '#222', 'fill': 'none', "marker [all...] |
/inkscape/src/extension/internal/ |
H A D | cairo-renderer.cpp | 45 #include "sp-marker.h" 159 static void sp_shape_render_invoke_marker_rendering(SPMarker* marker, Geom::Affine tr, SPStyle* style, CairoRenderContext *ctx) argument 162 if (marker->markerUnits == SP_MARKER_UNITS_STROKEWIDTH) { 166 render = false; // stroke width zero and marker is thus scaled down to zero, skip 171 SPItem* marker_item = sp_item_first_item_child(marker); 173 tr = (Geom::Affine)marker_item->transform * (Geom::Affine)marker->c2p * tr; 212 // START marker 215 SPMarker* marker = shape->_marker[i]; local 217 if (marker->orient_mode == MARKER_ORIENT_AUTO) { 219 } else if (marker 230 SPMarker* marker = shape->_marker[i]; local 282 SPMarker* marker = shape->_marker[i]; local [all...] |
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 7 * Jabiertxo Arraiza <jabier.arraiza@marker.es> 246 sp_repr_css_set_property (css, "marker-start", "url(#Arrow2Sstart)"); 247 sp_repr_css_set_property (css, "marker-end", "url(#Arrow2Send)"); 704 rmarker = xml_doc->createElement("svg:marker"); 712 SPItem *marker = SP_ITEM(defs->appendChildRepr(rmarker)); local 714 marker->updateRepr(); 728 SPItem *path = SP_ITEM(marker->appendChildRepr(rpath));
|