# File libart/sample/rose.rb, line 63 def render_vpath_with_context(vpath, context) vpath = vpath.affine_transform(context[:affine_transform]) unless context[:affine_transform].nil? vpath = vpath.dash(context[:dash]) unless context[:dash].nil? if context[:stroke] svp = vpath.stroke(context[:join], context[:cap], context[:line_width], context[:miter_limit], context[:flatness]) else svp = vpath.to_svp end render_svp(svp, context[:color]) end