Class: Pdfrb::Content::Operator::ConcatMatrix
- Defined in:
- lib/pdfrb/content/operators/general.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.invoke(processor, a, b, c, d, e, f) ⇒ Object
25 26 27 28 |
# File 'lib/pdfrb/content/operators/general.rb', line 25 def self.invoke(processor, a, b, c, d, e, f) m = Pdfrb::Model::Matrix.new(a, b, c, d, e, f) processor.update_graphics_state(ctm: m * processor.graphics_state.ctm) end |
.name ⇒ Object
24 |
# File 'lib/pdfrb/content/operators/general.rb', line 24 def self.name; "cm"; end |