/inkscape/src/libnrtype/ |
H A D | font-style.h | 17 double stroke_width; // if 0, the glyph is filled; otherwise stroked member in struct:font_style
|
H A D | FontInstance.cpp | 48 int n = static_cast<int>(floor(100 * x.stroke_width)); 54 if ( x.stroke_width >= STROKE_WIDTH_THREASHOLD ) { 81 && ( a.stroke_width > STROKE_WIDTH_THREASHOLD ) == ( b.stroke_width > STROKE_WIDTH_THREASHOLD ); 82 if ( same && ( a.stroke_width > STROKE_WIDTH_THREASHOLD ) ) {
|
/inkscape/share/extensions/ |
H A D | pixelsnap.py | 152 stroke_width = self.stroke_width(elem) 153 if stroke_width == 0: return 0 # if there's no stroke, no need to worry about the transform 159 stroke_width = transform_dimensions(transform, width=stroke_width) 161 return (stroke_width/2) 163 def stroke_width(self, elem, setval=None): member in class:PixelSnapEffect 170 stroke_width = 0 172 stroke_width = self.unittouu(style.get('stroke-width', '').strip()) 178 return stroke_width [all...] |
H A D | triangle.py | 129 stroke_width = self.unittouu('2px') 135 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri) 143 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri) 167 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri) 173 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri) 184 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri) 195 draw_tri_from_3_sides(s_a, s_b, s_c, offset, stroke_width, tri)
|
H A D | wireframe_sphere.py | 127 stroke_width = self.unittouu('1px') 180 draw_SVG_ellipse( ( minorRad, so.RADIUS ), (0,0), stroke_width, grp_long , start_end,transform) 207 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat) 211 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat, start_end) 214 draw_SVG_ellipse((majorRad, minorRad), (cx,cy), stroke_width, grp_lat) 218 draw_SVG_ellipse((so.RADIUS, so.RADIUS), (0,0), stroke_width, grp) #circle, centred on the sphere centre
|
H A D | nicechart.py | 180 type="float", dest="stroke_width", default='1') 346 stroke_width = self.options.stroke_width 542 + font_color + ";stroke-width:" + str(stroke_width) 653 + ";stroke-width:" + str(stroke_width) 671 + ";stroke-width:" + str(stroke_width)
|
H A D | printing_marks.py | 36 stroke_width = 0.25 variable in class:Printing_Marks 98 style = { 'stroke': '#000000', 'stroke-width': str(self.stroke_width), 106 style = { 'stroke': '#000000', 'stroke-width': str(self.stroke_width),
|
/inkscape/src/live_effects/ |
H A D | lpe-show_handles.cpp | 42 stroke_width = 1.0; 79 stroke_width = item->style->stroke_width.computed; 163 if(stroke_width * scale_nodes_and_handles > 0.0) { 164 double diameter = stroke_width * scale_nodes_and_handles; 177 if(stroke_width * scale_nodes_and_handles > 0.0) { 178 double diameter = stroke_width * scale_nodes_and_handles; 192 double diameter = stroke_width * scale_nodes_and_handles;
|
H A D | lpe-show_handles.h | 48 double stroke_width; member in class:Inkscape::LivePathEffect::LPEShowHandles
|
H A D | lpe-jointype.cpp | 89 double width = (lpeitem && lpeitem->style) ? lpeitem->style->stroke_width.computed : 1.;
|
/inkscape/src/ |
H A D | sp-hatch-path.cpp | 131 if (style->stroke_width.unit == SP_CSS_UNIT_PERCENT) { 136 style->stroke_width.computed = style->stroke_width.value * aw; 209 gdouble stroke_width = style->stroke_width.computed; local 210 result.setMin(bbox->left() - stroke_width / 2); 211 result.setMax(bbox->right() + stroke_width / 2);
|
H A D | sp-shape.cpp | 142 if (this->style->stroke_width.unit == SP_CSS_UNIT_PERCENT) { 145 this->style->stroke_width.computed = this->style->stroke_width.value * aw; 315 shape->style->stroke_width.computed); 333 shape->style->stroke_width.computed); 353 shape->style->stroke_width.computed); 370 shape->style->stroke_width.computed); 394 shape->style->stroke_width.computed); 469 tr = Geom::Scale(this->style->stroke_width.computed) * tr; 507 tr = Geom::Scale(this->style->stroke_width [all...] |
H A D | splivarot.cpp | 959 float o_width = i_style->stroke_width.computed; 1071 Geom::Scale(i_style->stroke_width.computed), 1086 Geom::Scale(i_style->stroke_width.computed), 1101 Geom::Scale(i_style->stroke_width.computed), 1113 Geom::Scale(i_style->stroke_width.computed), 1132 Geom::Scale(i_style->stroke_width.computed), 1226 o_width = i_style->stroke_width.computed; 1390 Geom::Scale(i_style->stroke_width.computed), transform, 1405 Geom::Scale(i_style->stroke_width.computed), transform, 1420 Geom::Scale(i_style->stroke_width [all...] |
H A D | style.h | 228 SPILength stroke_width; member in class:SPStyle
|
/inkscape/src/display/ |
H A D | canvas-bpath.h | 78 gdouble stroke_width; member in struct:SPCanvasBPath
|
H A D | drawing-shape.cpp | 122 width = std::max(0.125f, _nrstyle.stroke_width * scale); 123 if ( fabs(_nrstyle.stroke_width * scale) > 0.01 ) { // FIXME: this is always true 178 has_stroke &= (_nrstyle.stroke_width != 0); 239 has_stroke &= (_nrstyle.stroke_width != 0); 330 width = std::max(0.125f, _nrstyle.stroke_width * scale) / 2;
|
H A D | nr-style.cpp | 48 , stroke_width(0.0) 186 stroke_width = style->stroke_width.computed; 280 text_decoration_stroke_width = style_td->stroke_width.computed; 436 dc.setLineWidth(stroke_width);
|
H A D | nr-style.h | 65 float stroke_width; member in struct:NRStyle
|
H A D | canvas-bpath.cpp | 52 bpath->stroke_width = 1.0; 218 cbp->stroke_width = MAX (width, 0.1);
|
H A D | cairo-utils.h | 199 void feed_pathvector_to_cairo (cairo_t *ct, Geom::PathVector const &pathv, Geom::Affine trans, Geom::OptRect area, bool optimize_stroke, double stroke_width);
|
H A D | drawing-text.cpp | 157 float width = MAX(0.125, ggroup->_nrstyle.stroke_width * scale); 158 if ( fabs(ggroup->_nrstyle.stroke_width * scale) > 0.01 ) { // FIXME: this is always true
|
/inkscape/src/ui/tools/ |
H A D | freehand-base.cpp | 250 double stroke_width = 1.0; local 256 stroke_width = style.stroke_width.computed; 261 s << points[0][Geom::X] << "," << stroke_width / 2.; 943 double stroke_width = 3.0; local 948 stroke_width = style.stroke_width.computed; 978 sp_repr_set_svg_double (repr, "sodipodi:rx", rad * stroke_width); 979 sp_repr_set_svg_double (repr, "sodipodi:ry", rad * stroke_width);
|
/inkscape/src/widgets/ |
H A D | stroke-style.cpp | 775 if (style->stroke_width.computed != 0) 776 d[i] = style->stroke_dasharray.values[i] / style->stroke_width.computed; 778 d[i] = style->stroke_dasharray.values[i]; // is there a better thing to do for stroke_width==0? 780 dsel->set_dash(len, d, style->stroke_width.computed != 0 ? 781 style->stroke_dashoffset.value / style->stroke_width.computed : 929 double avgwidth = Inkscape::Util::Quantity::convert(query.stroke_width.computed, "px", unit); 1073 gdouble old_w = (*i)->style->stroke_width.computed;
|
/inkscape/src/ui/widget/ |
H A D | style-swatch.cpp | 331 // Now query stroke_width 335 w = Inkscape::Util::Quantity::convert(query->stroke_width.computed, "px", _sw_unit); 337 w = query->stroke_width.computed;
|
/inkscape/src/extension/internal/ |
H A D | latex-pstricks.cpp | 235 os << "\\pscustom[linewidth=" << style->stroke_width.computed*scale<< ",linecolor=curcolor";
|