Method: PDF::Reader::TransformationMatrix#horizontal_displacement_multiply!

Defined in:
lib/pdf/reader/transformation_matrix.rb

#horizontal_displacement_multiply!(e2) ⇒ Object

Optimised method for when the second matrix in the calculation is a simple horizontal displacement.

Like this:

[ 1 2 0 ]   [ 1  0 0 ]
[ 3 4 0 ] x [ 0  1 0 ]
[ 5 6 1 ]   [ e2 0 1 ]


93
94
95
# File 'lib/pdf/reader/transformation_matrix.rb', line 93

def horizontal_displacement_multiply!(e2)
  @e = @e + e2
end