Class RGhost::Eps
In: eps.rb
Parent: RGhost::PsObject

Load new EPS file.

Methods

new   ps  

Public Class methods

Examples

 doc=Document.new
 doc.set Eps.new "/local/templates/myform.eps", :x => 10, :y => 3

Using Image.for facade

 doc.set Image.for "/local/templates/myform.eps", :x => 10, :y => 3

Using PsFacade or Document

 doc.image "/local/templates/myform.eps", :x => 10, :y => 3

Options

  • :x and :y - Coordinates to position.
  • :rotate - Angle to image rotation if there is one.

Public Instance methods

[Validate]