Lines Matching refs:buf
30 static void sp_canvas_bpath_render (SPCanvasItem *item, SPCanvasBuf *buf);
103 sp_canvas_bpath_render (SPCanvasItem *item, SPCanvasBuf *buf)
107 Geom::Rect area = buf->rect;
114 if (!buf->ct)
120 cairo_set_tolerance(buf->ct, 0.5);
121 cairo_new_path(buf->ct);
123 feed_pathvector_to_cairo (buf->ct, cbp->curve->get_pathvector(), cbp->affine, area,
128 ink_cairo_set_source_rgba32(buf->ct, cbp->fill_rgba);
129 cairo_set_fill_rule(buf->ct, cbp->fill_rule == SP_WIND_RULE_EVENODD? CAIRO_FILL_RULE_EVEN_ODD
131 cairo_fill_preserve(buf->ct);
135 ink_cairo_set_source_rgba32(buf->ct, cbp->stroke_rgba);
136 cairo_set_line_width(buf->ct, 1);
138 cairo_set_dash (buf->ct, cbp->dashes, 2, 0);
140 cairo_stroke(buf->ct);
142 cairo_new_path(buf->ct);