Class: HexaPDF::Content::Operator::SaveGraphicsState
- Inherits:
-
NoArgumentOperator
- Object
- BaseOperator
- NoArgumentOperator
- HexaPDF::Content::Operator::SaveGraphicsState
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘q’ operator.
See: PDF1.7 s8.4.4
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SaveGraphicsState
constructor
Creates the operator.
-
#invoke(processor) ⇒ Object
:nodoc:.
Methods inherited from NoArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SaveGraphicsState
Creates the operator.
155 156 157 |
# File 'lib/hexapdf/content/operator.rb', line 155 def initialize super('q') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
159 160 161 |
# File 'lib/hexapdf/content/operator.rb', line 159 def invoke(processor) #:nodoc: processor.graphics_state.save end |