module Zint::Wrapper
This is the FFI wrapper on the Zint
C library. You should not use this directly. Instead refer to Zint::Barcode
and its decendents
Public Class Methods
create(bctype=BARCODE_CODE128)
click to toggle source
# 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