Class: Pdfrb::Content::Operator::HorizontalScaling

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/text_state.rb

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, n) ⇒ Object



27
28
29
# File 'lib/pdfrb/content/operators/text_state.rb', line 27

def self.invoke(processor, n)
  processor.update_text_state(horizontal_scaling: n.to_f)
end

.nameObject



26
# File 'lib/pdfrb/content/operators/text_state.rb', line 26

def self.name; "Tz"; end