Class: HexaPDF::Content::Operator::BeginText
- Inherits:
-
NoArgumentOperator
- Object
- BaseOperator
- NoArgumentOperator
- HexaPDF::Content::Operator::BeginText
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘BT’ operator.
See: PDF2.0 s9.4.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ BeginText
constructor
:nodoc:.
-
#invoke(processor) ⇒ Object
:nodoc:.
Methods inherited from NoArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ BeginText
:nodoc:
814 815 816 |
# File 'lib/hexapdf/content/operator.rb', line 814 def initialize #:nodoc: super('BT') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
818 819 820 821 822 |
# File 'lib/hexapdf/content/operator.rb', line 818 def invoke(processor) #:nodoc: processor.graphics_object = :text processor.graphics_state.tm = TransformationMatrix.new processor.graphics_state.tlm = TransformationMatrix.new end |