Class: HexaPDF::Content::Operator::CurveToNoFirstControlPoint
- Inherits:
-
BaseOperator
- Object
- BaseOperator
- HexaPDF::Content::Operator::CurveToNoFirstControlPoint
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the āvā operators.
See: PDF2.0 s8.5.2.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ CurveToNoFirstControlPoint
constructor
Creates the operator.
-
#serialize(serializer, x2, y2, x3, y3) ⇒ Object
:nodoc:.
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ CurveToNoFirstControlPoint
Creates the operator.
620 621 622 |
# File 'lib/hexapdf/content/operator.rb', line 620 def initialize super('v') end |
Instance Method Details
#serialize(serializer, x2, y2, x3, y3) ⇒ Object
:nodoc:
624 625 626 627 |
# File 'lib/hexapdf/content/operator.rb', line 624 def serialize(serializer, x2, y2, x3, y3) #:nodoc: "#{serializer.serialize_numeric(x2)} #{serializer.serialize_numeric(y2)} " \ "#{serializer.serialize_numeric(x3)} #{serializer.serialize_numeric(y3)} v\n" end |