Class: Pdfrb::Content::Operator::CurveTo

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

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, x1, y1, x2, y2, x3, y3) ⇒ Object



26
27
28
# File 'lib/pdfrb/content/operators/path.rb', line 26

def self.invoke(processor, x1, y1, x2, y2, x3, y3)
  processor.path_curve_to([x1.to_f, y1.to_f], [x2.to_f, y2.to_f], [x3.to_f, y3.to_f])
end

.nameObject



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

def self.name; "c"; end