Class: ZXing::FFI::LuminanceSource
- Inherits:
-
Object
- Object
- ZXing::FFI::LuminanceSource
show all
- Includes:
- LuminanceSource
- Defined in:
- lib/zxing/ffi/luminance_source.rb
Instance Attribute Summary
#native
Instance Method Summary
collapse
new
Constructor Details
Returns a new instance of LuminanceSource.
6
7
8
|
# File 'lib/zxing/ffi/luminance_source.rb', line 6
def initialize ptr
super ZXing::FFI::Library::LuminanceSourcePointer.new ptr
end
|
Instance Method Details
#height ⇒ Object
12
13
14
|
# File 'lib/zxing/ffi/luminance_source.rb', line 12
def height
ZXing::FFI::Library.LuminanceSource_height native
end
|
#matrix ⇒ Object
15
16
17
|
# File 'lib/zxing/ffi/luminance_source.rb', line 15
def matrix
ZXing::FFI::Library.LuminanceSource_matrix native
end
|
#width ⇒ Object
9
10
11
|
# File 'lib/zxing/ffi/luminance_source.rb', line 9
def width
ZXing::FFI::Library.LuminanceSource_width native
end
|