Method: IsoDoc::PresentationXMLConvert#svg_to_emf_from_node
- Defined in:
- lib/isodoc/presentation_function/image.rb
#svg_to_emf_from_node(node, target_path = nil) ⇒ Object
184 185 186 187 188 189 |
# File 'lib/isodoc/presentation_function/image.rb', line 184 def svg_to_emf_from_node(node, target_path = nil) emf = Vectory::Svg.from_node(node).to_emf return emf.write(target_path).to_uri.content if target_path emf.to_uri.content end |