/inkscape/src/widgets/ |
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-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 | ege-adjustment-action.cpp | 627 EgeAdjustmentDescr* marker = 0; local 637 marker = descr; 644 ((marker && marker->descr) ? ": " : ""), 645 ((marker && marker->descr) ? marker->descr : ""));
|
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...] |
/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 | style.h | 243 SPIString marker; member in class:SPStyle
|
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 | 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...] |
/inkscape/share/extensions/ |
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'})
|
/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));
|