Method: RGhost::TextIn#ps

Defined in:
lib/rghost/text_in.rb

#psObject



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/rghost/text_in.rb', line 30

def ps
  text=RGhost::PsObject.new
  text.set RGhost::Cursor.moveto(@options)
  #text.raw "currentfont"
  #text.raw "currentrgbcolor"
  text.raw RGhost::Color.create(@options[:color])  if @options[:color]
  f="_#{@options[:with] || @options[:tag] || :default_font}"
  text.raw f
  #text.call @options[:with] || @options[:tag]  || :default_font
  
  text.raw string_eval(@options[:text] || @options[:write] )
  #text.raw "setrgbcolor"
  #text.raw "setfont"
  text.graphic_scope
  #text.set PsObject.new(@options[:text])
 
 
  
  
end