Class Origami::Graphics::Instruction::M
In: sources/parser/graphics/path.rb
Parent: Object

Methods

new   update_state  

Included Modules

PDF::Instruction

Public Class methods

[Source]

     # File sources/parser/graphics/path.rb, line 148
148:         def initialize(x,y); super('m', x, y) end

Public Instance methods

[Source]

     # File sources/parser/graphics/path.rb, line 150
150:         def update_state(gs)
151:           gs.current_path << (subpath = Path.new)
152: 
153:           subpath.current_point = @operands
154:           self
155:         end

[Validate]