Lines Matching defs:stroke

296  * \brief Sets stroke style from poppler's GfxState data structure
303 sp_repr_css_set_property(css, "stroke", urltext);
310 sp_repr_css_set_property(css, "stroke", svgConvertGfxRGB(&stroke_color));
316 sp_repr_css_set_property(css, "stroke-opacity", os_opacity.str().c_str());
324 // emit a stroke which is 1px in toplevel user units
328 sp_repr_css_set_property(css, "stroke-width", os_width.str().c_str());
333 sp_repr_css_set_property(css, "stroke-linecap", "butt");
336 sp_repr_css_set_property(css, "stroke-linecap", "round");
339 sp_repr_css_set_property(css, "stroke-linecap", "square");
346 sp_repr_css_set_property(css, "stroke-linejoin", "miter");
349 sp_repr_css_set_property(css, "stroke-linejoin", "round");
352 sp_repr_css_set_property(css, "stroke-linejoin", "bevel");
359 sp_repr_css_set_property(css, "stroke-miterlimit", os_ml.str().c_str());
374 sp_repr_css_set_property(css, "stroke-dasharray", os_array.str().c_str());
378 sp_repr_css_set_property(css, "stroke-dashoffset", os_offset.str().c_str());
380 sp_repr_css_set_property(css, "stroke-dasharray", "none");
381 sp_repr_css_set_property(css, "stroke-dashoffset", NULL);
417 SPCSSAttr *SvgBuilder::_setStyle(GfxState *state, bool fill, bool stroke, bool even_odd) {
425 if (stroke) {
428 sp_repr_css_set_property(css, "stroke", "none");
439 * \param stroke whether the path should be stroked
442 void SvgBuilder::addPath(GfxState *state, bool fill, bool stroke, bool even_odd) {
449 SPCSSAttr *css = _setStyle(state, fill, stroke, even_odd);
485 sp_repr_css_set_property(css, "stroke", "none");
720 // Set fill/stroke colors if this is an uncolored tiling pattern