Lines Matching refs:pattern
59 dash_combo.set_tooltip_text(_("Dash pattern"));
96 this->set_data("pattern", dashes[0]);
152 for(i=0;i<15;i++){ d[i]=i; } // have to put something in there, this is a pattern hopefully nobody would choose
170 double *pattern = dashes[i];
172 while (pattern[np] >= 0.0)
178 if (!Geom::are_near(dash[j], pattern[j], delta))
193 this->set_data("pattern", dashes[pos]);
197 else { // Hit a custom pattern in the SVG, write it into the combobox.
203 } // store the custom pattern
205 this->set_data("pattern", dashes[count]);
213 double *pattern = (double*) this->get_data("pattern");
216 while (pattern[nd] >= 0.0)
224 memcpy (*dash, pattern, nd * sizeof (double));
239 * Fill a pixbuf with the dash pattern using standard cairo drawing
241 GdkPixbuf* SPDashSelector::sp_dash_to_pixbuf(double *pattern)
244 for (n_dashes = 0; pattern[n_dashes] >= 0.0; n_dashes ++) ;
254 cairo_set_dash(ct, pattern, n_dashes, 0);
289 double *pattern = dash_combo.get_active()->get_value(dash_columns.dash);
290 this->set_data ("pattern", pattern);