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: PDF2.0 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.
153 154 155 |
# File 'lib/hexapdf/content/operator.rb', line 153 def initialize super('q') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
157 158 159 |
# File 'lib/hexapdf/content/operator.rb', line 157 def invoke(processor) #:nodoc: processor.graphics_state.save end |