Class RGhost::PsObject
In: ps_object.rb
Parent: Object

Postscript wrapper class

Methods

<<   call   graphic_scope   new   ps   raw   set   to_s  

Public Class methods

Creates new instance of PsObject. Example

   PsObject.new("/my_proc { 33 45 2 10 sub mul div} bind def")

Or by block code

   PsObject.new do
     set PsObject.new("(A test) show")
     raw "(Other Test in raw) show "
   end

Public Instance methods

Alias for set

Call operator in the stack

Freezes graphic state

Gets postscript code.

Pushes elements on the stack.

Sets PsObject into this object.

Alias for ps.

[Validate]