/inkscape/share/extensions/ |
H A D | convert2dashes.py | 61 dashes = [float (dash) for dash in style['stroke-dasharray'].split(',')] 69 dash = dashes[0] 71 while dash < length: 72 length = length - dash 74 dash = dashes[idash] 78 dash = dash - length 80 while dash < length: 81 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], dash/lengt [all...] |
/inkscape/src/widgets/ |
H A D | dash-selector.h | 25 * Class that wraps a combobox and spinbutton for selecting dash patterns. 35 void set_dash(int ndash, double *dash, double offset); 36 void get_dash(int *ndash, double **dash, double *offset); 48 * Fill a pixbuf with the dash pattern using standard cairo drawing 77 Gtk::TreeModelColumn<double *> dash; member in class:SPDashSelector::DashColumns 81 add(dash); add(pixbuf);
|
H A D | dash-selector.cpp | 3 * Combobox for selecting dash patterns - implementation. 19 #include "dash-selector.h" 88 row[dash_columns.dash] = dashes[i]; 93 row[dash_columns.dash] = dashes[np-1]; 159 void SPDashSelector::set_dash (int ndash, double *dash, double o) argument 166 delta += dash[i]; 178 if (!Geom::are_near(dash[j], pattern[j], delta)) 202 d[i]=dash[i]; 211 void SPDashSelector::get_dash(int *ndash, double **dash, double *off) argument 222 if (dash) { [all...] |
H A D | stroke-style.h | 24 #include "widgets/dash-selector.h" 167 void setScaledDash(SPCSSAttr *css, int ndash, double *dash, double offset, double scale);
|
H A D | stroke-style.cpp | 766 * Sets selector widgets' dash style from an SPStyle object. 1007 * Sets a line's dash properties in a CSS style object. 1011 int ndash, double *dash, double offset, 1017 osarray << dash[i] * scale; 1063 double *dash, offset; local 1065 dashSelector->get_dash(&ndash, &dash, &offset); 1089 /* Set dash */ 1090 setScaledDash(css, ndash, dash, offset, width); 1095 g_free(dash); 1150 * Callback for when the stroke style's dash change 1010 setScaledDash(SPCSSAttr *css, int ndash, double *dash, double offset, double scale) argument [all...] |
/inkscape/src/display/ |
H A D | nr-style.cpp | 51 , dash(NULL) 86 if (dash){ 87 delete [] dash; 215 if (dash){ 216 delete [] dash; 222 dash = new double[n_dash]; 224 dash[i] = style->stroke_dasharray.values[i]; 228 dash = NULL; 440 cairo_set_dash(dc.raw(), dash, n_dash, dash_offset); // fixme 475 cairo_set_dash(dc.raw(), 0, 0, 0.0); // fixme (no dash) [all...] |
H A D | canvas-bpath.h | 99 void sp_canvas_bpath_set_stroke (SPCanvasBPath *cbp, guint32 rgba, gdouble width, SPStrokeJoinType join, SPStrokeCapType cap, double dash=0, double gap=0);
|
H A D | nr-style.h | 68 double *dash; member in struct:NRStyle
|
H A D | canvas-bpath.cpp | 212 sp_canvas_bpath_set_stroke (SPCanvasBPath *cbp, guint32 rgba, gdouble width, SPStrokeJoinType join, SPStrokeCapType cap, double dash, double gap) argument 221 cbp->dashes[0] = dash;
|
/inkscape/src/livarot/ |
H A D | PathCutting.cpp | 69 // Extract out dash pattern (relative positions) 72 double *dash = g_new(double, n_dash); local 74 dash[i] = style->stroke_dasharray.values[i] * scale; 81 dashs[0]=dash[0]; 83 dashs[i]=dashs[i-1]+dash[i]; 90 g_free(dash);
|
/inkscape/src/extension/internal/ |
H A D | emf-print.cpp | 539 U_STYLEENTRY *dash = NULL; local 709 dash = new uint32_t[n_dash]; 711 dash[i] = MAX(1, (uint32_t) round(scale * style->stroke_dasharray.values[i] * PX2WORLD)); 724 dash); 770 delete[] dash; 1444 int i = 0; //dash index 1454 // go around the dash array repeatedly until the entire path is consumed (but not beyond).
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | pdf-parser.cpp | 688 double *dash = 0; local 693 dash = (double *)gmallocn(length, sizeof(double)); 696 dash[i] = a->get(i, &obj)->getNum(); 700 state->setLineDash(dash, length, args[1].getNum());
|