Class: Prawn::Svg::Parser::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn/svg/parser/text.rb

Instance Method Summary collapse

Instance Method Details

#parse(element) ⇒ Object


2
3
4
5
# File 'lib/prawn/svg/parser/text.rb', line 2

def parse(element)
  element.add_call_and_enter "text_group"
  internal_parse(element, [element.document.x(0)], [element.document.y(0)], false)
end