Class: PDF::Inspector::Graphics::Matrix

Inherits:
PDF::Inspector show all
Defined in:
lib/pdf/inspector/graphics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from PDF::Inspector

analyze, analyze_file, parse

Constructor Details

#initializeMatrix

Returns a new instance of Matrix.



127
128
129
# File 'lib/pdf/inspector/graphics.rb', line 127

def initialize
  @matrices = []
end

Instance Attribute Details

#matricesObject (readonly)

Returns the value of attribute matrices.



125
126
127
# File 'lib/pdf/inspector/graphics.rb', line 125

def matrices
  @matrices
end

Instance Method Details

#concatenate_matrix(*values) ⇒ Object



131
132
133
# File 'lib/pdf/inspector/graphics.rb', line 131

def concatenate_matrix(*values)
  @matrices << values
end