Module: Zint::Wrapper
- Extended by:
- FFI::Library
- Defined in:
- lib/zint/wrapper.rb
Overview
This is the FFI wrapper on the Zint C library. You should not use this directly. Instead refer to Zint::Barcode and its decendents
Class Method Summary collapse
Class Method Details
.create(bctype = BARCODE_CODE128) ⇒ Object
154 155 156 157 158 |
# File 'lib/zint/wrapper.rb', line 154 def self.create(bctype=BARCODE_CODE128) bc = Zint::ZintSymbol.new(self.zint_create()) bc[:symbology] = bctype return bc end |