Class Origami::Graphics::Instruction::H
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 178
178:         def initialize; super('h') end

Public Instance methods

[Source]

     # File sources/parser/graphics/path.rb, line 180
180:         def update_state(gs)
181:           unless gs.current_path.empty?
182:             subpath = gs.current_path.last
183:             subpath.close! unless subpath.is_closed?
184:           end
185:           self
186:         end

[Validate]