Method: PDF::Core::Text#draw_text!

Defined in:
lib/pdf/core/text.rb

#draw_text!(text, options) ⇒ Object

Low level text placement method. All font and size alterations should already be set



25
26
27
28
# File 'lib/pdf/core/text.rb', line 25

def draw_text!(text, options)
  x,y = map_to_absolute(options[:at])
  add_text_content(text,x,y,options)
end