Class: Pdfrb::Content::Operator::MoveTo

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/path.rb

Overview

Path construction operators (s8.5).

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, x, y) ⇒ Object



10
11
12
# File 'lib/pdfrb/content/operators/path.rb', line 10

def self.invoke(processor, x, y)
  processor.path_move_to(x.to_f, y.to_f)
end

.nameObject



9
# File 'lib/pdfrb/content/operators/path.rb', line 9

def self.name; "m"; end