Class: HexaPDF::Content::Operator::RestoreGraphicsState
- Inherits:
-
NoArgumentOperator
- Object
- BaseOperator
- NoArgumentOperator
- HexaPDF::Content::Operator::RestoreGraphicsState
- 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 ⇒ RestoreGraphicsState
constructor
Creates the operator.
-
#invoke(processor) ⇒ Object
:nodoc:.
Methods inherited from NoArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ RestoreGraphicsState
Creates the operator.
169 170 171 |
# File 'lib/hexapdf/content/operator.rb', line 169 def initialize super('Q') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
173 174 175 |
# File 'lib/hexapdf/content/operator.rb', line 173 def invoke(processor) #:nodoc: processor.graphics_state.restore end |