Class: Pdfrb::Content::Operator::CurveToLastEqual

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, x3, y3) ⇒ Object



42
43
44
# File 'lib/pdfrb/content/operators/path.rb', line 42

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

.nameObject



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

def self.name; "y"; end