api documentation for bwip-js (v1.3.2)

Barcode generator supporting over 90 types and standards.

table of contents

  1. module bwip-js
    1. function bwip-js (req, res, opts)
    2. function bwip-js.bwipjs (freetype, monochrome)
    3. function bwip-js.loadFont (fontname, sizemult, fontfile)
    4. function bwip-js.toBuffer (args, callback)
    5. function bwip-js.unloadFont (fontname)
    6. object bwip-js.bwipjs.prototype
    7. object bwip-js.freetype
    8. string bwip-js.bwipjs_version
    9. string bwip-js.bwipp_version
  2. module bwip-js.bwipjs
    1. function bwip-js.bwipjs (freetype, monochrome)
  3. module bwip-js.bwipjs.prototype
    1. function bwip-js.bwipjs.prototype.bitmap (bitmap)
    2. function bwip-js.bwipjs.prototype.ceilscale ()
    3. function bwip-js.bwipjs.prototype.charpath (str, b)
    4. function bwip-js.bwipjs.prototype.closepath ()
    5. function bwip-js.bwipjs.prototype.currfont ()
    6. function bwip-js.bwipjs.prototype.currpos ()
    7. function bwip-js.bwipjs.prototype.drawline (optmz, x1, y1, x2, y2, penx, peny, merge)
    8. function bwip-js.bwipjs.prototype.findfont (name)
    9. function bwip-js.bwipjs.prototype.floorscale ()
    10. function bwip-js.bwipjs.prototype.getfont ()
    11. function bwip-js.bwipjs.prototype.imagemask (width, height, source)
    12. function bwip-js.bwipjs.prototype.lineto (x, y)
    13. function bwip-js.bwipjs.prototype.moveto (x, y)
    14. function bwip-js.bwipjs.prototype.newpath ()
    15. function bwip-js.bwipjs.prototype.pathbbox ()
    16. function bwip-js.bwipjs.prototype.reset ()
    17. function bwip-js.bwipjs.prototype.restore ()
    18. function bwip-js.bwipjs.prototype.rlineto (x, y)
    19. function bwip-js.bwipjs.prototype.rmoveto (x, y)
    20. function bwip-js.bwipjs.prototype.roundscale ()
    21. function bwip-js.bwipjs.prototype.save ()
    22. function bwip-js.bwipjs.prototype.scale (x, y)
    23. function bwip-js.bwipjs.prototype.setcolor (s)
    24. function bwip-js.bwipjs.prototype.setextent ()
    25. function bwip-js.bwipjs.prototype.setfont (f)
    26. function bwip-js.bwipjs.prototype.setlinewidth (w)
    27. function bwip-js.bwipjs.prototype.show (str, dx, dy)
    28. function bwip-js.bwipjs.prototype.stringwidth (str)
    29. function bwip-js.bwipjs.prototype.stroke ()
    30. function bwip-js.bwipjs.prototype.translate (x, y)
  4. module bwip-js.freetype
    1. boolean bwip-js.freetype.calledRun
    2. boolean bwip-js.freetype.noExitRuntime
    3. function bwip-js.freetype.AsciiToString (ptr)
    4. function bwip-js.freetype.FS_createDataFile (parent, name, data, canRead, canWrite, canOwn)
    5. function bwip-js.freetype.FS_createDevice (parent, name, input, output)
    6. function bwip-js.freetype.FS_createFolder (parent, name, canRead, canWrite)
    7. function bwip-js.freetype.FS_createLazyFile (parent, name, url, canRead, canWrite)
    8. function bwip-js.freetype.FS_createLink (parent, name, target, canRead, canWrite)
    9. function bwip-js.freetype.FS_createPath (parent, path, canRead, canWrite)
    10. function bwip-js.freetype.FS_createPreloadedFile (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish)
    11. function bwip-js.freetype.FS_unlink (path)
    12. function bwip-js.freetype.Pointer_stringify (ptr, length)
    13. function bwip-js.freetype.UTF8ArrayToString (u8Array, idx)
    14. function bwip-js.freetype.UTF8ToString (ptr)
    15. function bwip-js.freetype.___errno_location ()
    16. function bwip-js.freetype._bitshift64Lshr (a, b, c)
    17. function bwip-js.freetype._bitshift64Shl (a, b, c)
    18. function bwip-js.freetype._find_font (a)
    19. function bwip-js.freetype._free (a)
    20. function bwip-js.freetype._get_advance ()
    21. function bwip-js.freetype._get_bitmap (b, e, f, g)
    22. function bwip-js.freetype._get_height ()
    23. function bwip-js.freetype._get_left ()
    24. function bwip-js.freetype._get_pitch ()
    25. function bwip-js.freetype._get_top ()
    26. function bwip-js.freetype._get_width ()
    27. function bwip-js.freetype._i64Add (a, b, c, d)
    28. function bwip-js.freetype._i64Subtract (a, b, c, d)
    29. function bwip-js.freetype._load_font (a, b, d)
    30. function bwip-js.freetype._main ()
    31. function bwip-js.freetype._malloc (a)
    32. function bwip-js.freetype._memcpy (b, d, e)
    33. function bwip-js.freetype._memmove (b, c, d)
    34. function bwip-js.freetype._memset (b, d, e)
    35. function bwip-js.freetype._monochrome (a)
    36. function bwip-js.freetype._realloc (a, b)
    37. function bwip-js.freetype._saveSetjmp (a, b, d, e)
    38. function bwip-js.freetype._testSetjmp (a, b, d)
    39. function bwip-js.freetype.abort (what)
    40. function bwip-js.freetype.addOnExit (cb)
    41. function bwip-js.freetype.addOnInit (cb)
    42. function bwip-js.freetype.addOnPostRun (cb)
    43. function bwip-js.freetype.addOnPreMain (cb)
    44. function bwip-js.freetype.addOnPreRun (cb)
    45. function bwip-js.freetype.addRunDependency (id)
    46. function bwip-js.freetype.allocate (slab, types, allocator, ptr)
    47. function bwip-js.freetype.callMain (args)
    48. function bwip-js.freetype.ccall (ident, returnType, argTypes, args, opts)
    49. function bwip-js.freetype.createContext (canvas, useWebGL, setInModule, webGLContextAttributes)
    50. function bwip-js.freetype.cwrap (ident, returnType, argTypes)
    51. function bwip-js.freetype.dynCall_ii (a, b)
    52. function bwip-js.freetype.dynCall_iii (a, b, c)
    53. function bwip-js.freetype.dynCall_iiii (a, b, c, d)
    54. function bwip-js.freetype.dynCall_iiiii (a, b, c, d, e)
    55. function bwip-js.freetype.dynCall_iiiiii (a, b, c, d, e, f)
    56. function bwip-js.freetype.dynCall_iiiiiii (a, b, c, d, e, f, g)
    57. function bwip-js.freetype.dynCall_iiiiiiii (a, b, c, d, e, f, g, h)
    58. function bwip-js.freetype.dynCall_iiiiiiiiii (a, b, c, d, e, f, g, h, i, j)
    59. function bwip-js.freetype.dynCall_vi (a, b)
    60. function bwip-js.freetype.dynCall_vii (a, b, c)
    61. function bwip-js.freetype.dynCall_viii (a, b, c, d)
    62. function bwip-js.freetype.dynCall_viiii (a, b, c, d, e)
    63. function bwip-js.freetype.dynCall_viiiii (a, b, c, d, e, f)
    64. function bwip-js.freetype.dynCall_viiiiii (a, b, c, d, e, f, g)
    65. function bwip-js.freetype.exit (status, implicit)
    66. function bwip-js.freetype.getMemory (size)
    67. function bwip-js.freetype.getUserMedia ()
    68. function bwip-js.freetype.getValue (ptr, type, noSafe)
    69. function bwip-js.freetype.inspect ()
    70. function bwip-js.freetype.intArrayFromString (stringy, dontAddNull, length)
    71. function bwip-js.freetype.intArrayToString (array)
    72. function bwip-js.freetype.lengthBytesUTF8 (str)
    73. function bwip-js.freetype.load (f)
    74. function bwip-js.freetype.pauseMainLoop ()
    75. function bwip-js.freetype.print ()
    76. function bwip-js.freetype.printErr ()
    77. function bwip-js.freetype.read (filename, binary)
    78. function bwip-js.freetype.readBinary (filename)
    79. function bwip-js.freetype.removeRunDependency (id)
    80. function bwip-js.freetype.requestAnimationFrame (func)
    81. function bwip-js.freetype.requestFullScreen (lockPointer, resizeCanvas, vrDevice)
    82. function bwip-js.freetype.resumeMainLoop ()
    83. function bwip-js.freetype.run (args)
    84. function bwip-js.freetype.runPostSets ()
    85. function bwip-js.freetype.setCanvasSize (width, height, noUpdates)
    86. function bwip-js.freetype.setValue (ptr, value, type, noSafe)
    87. function bwip-js.freetype.stackTrace ()
    88. function bwip-js.freetype.stringToAscii (str, outPtr)
    89. function bwip-js.freetype.stringToUTF8 (str, outPtr, maxBytesToWrite)
    90. function bwip-js.freetype.stringToUTF8Array (str, outU8Array, outIdx, maxBytesToWrite)
    91. function bwip-js.freetype.writeArrayToMemory (array, buffer)
    92. function bwip-js.freetype.writeAsciiToMemory (str, buffer, dontAddNull)
    93. function bwip-js.freetype.writeStringToMemory (string, buffer, dontAddNull)
    94. number bwip-js.freetype.ALLOC_DYNAMIC
    95. number bwip-js.freetype.ALLOC_NONE
    96. number bwip-js.freetype.ALLOC_NORMAL
    97. number bwip-js.freetype.ALLOC_STACK
    98. number bwip-js.freetype.ALLOC_STATIC
    99. number bwip-js.freetype.expectedDataFileDownloads
    100. number bwip-js.freetype.finishedDataFileDownloads
    101. object bwip-js.freetype.HEAP16
    102. object bwip-js.freetype.HEAP32
    103. object bwip-js.freetype.HEAP8
    104. object bwip-js.freetype.HEAPF32
    105. object bwip-js.freetype.HEAPF64
    106. object bwip-js.freetype.HEAPU16
    107. object bwip-js.freetype.HEAPU32
    108. object bwip-js.freetype.HEAPU8
    109. object bwip-js.freetype.Runtime
    110. object bwip-js.freetype.arguments
    111. object bwip-js.freetype.asmGlobalArg
    112. object bwip-js.freetype.asmLibraryArg
    113. object bwip-js.freetype.buffer
    114. object bwip-js.freetype.postRun
    115. object bwip-js.freetype.preRun
    116. object bwip-js.freetype.preloadedAudios
    117. object bwip-js.freetype.preloadedImages
    118. string bwip-js.freetype.thisProgram

module bwip-js

function bwip-js (req, res, opts)

function bwip-js.bwipjs (freetype, monochrome)

function bwip-js.loadFont (fontname, sizemult, fontfile)

function bwip-js.toBuffer (args, callback)

function bwip-js.unloadFont (fontname)

module bwip-js.bwipjs

function bwip-js.bwipjs (freetype, monochrome)

module bwip-js.bwipjs.prototype

function bwip-js.bwipjs.prototype.bitmap (bitmap)

function bwip-js.bwipjs.prototype.ceilscale ()

function bwip-js.bwipjs.prototype.charpath (str, b)

function bwip-js.bwipjs.prototype.closepath ()

function bwip-js.bwipjs.prototype.currfont ()

function bwip-js.bwipjs.prototype.currpos ()

function bwip-js.bwipjs.prototype.drawline (optmz, x1, y1, x2, y2, penx, peny, merge)

function bwip-js.bwipjs.prototype.findfont (name)

function bwip-js.bwipjs.prototype.floorscale ()

function bwip-js.bwipjs.prototype.getfont ()

function bwip-js.bwipjs.prototype.imagemask (width, height, source)

function bwip-js.bwipjs.prototype.lineto (x, y)

function bwip-js.bwipjs.prototype.moveto (x, y)

function bwip-js.bwipjs.prototype.newpath ()

function bwip-js.bwipjs.prototype.pathbbox ()

function bwip-js.bwipjs.prototype.reset ()

function bwip-js.bwipjs.prototype.restore ()

function bwip-js.bwipjs.prototype.rlineto (x, y)

function bwip-js.bwipjs.prototype.rmoveto (x, y)

function bwip-js.bwipjs.prototype.roundscale ()

function bwip-js.bwipjs.prototype.save ()

function bwip-js.bwipjs.prototype.scale (x, y)

function bwip-js.bwipjs.prototype.setcolor (s)

function bwip-js.bwipjs.prototype.setextent ()

function bwip-js.bwipjs.prototype.setfont (f)

function bwip-js.bwipjs.prototype.setlinewidth (w)

function bwip-js.bwipjs.prototype.show (str, dx, dy)

function bwip-js.bwipjs.prototype.stringwidth (str)

function bwip-js.bwipjs.prototype.stroke ()

function bwip-js.bwipjs.prototype.translate (x, y)

module bwip-js.freetype

function bwip-js.freetype.AsciiToString (ptr)

function bwip-js.freetype.FS_createDataFile (parent, name, data, canRead, canWrite, canOwn)

function bwip-js.freetype.FS_createDevice (parent, name, input, output)

function bwip-js.freetype.FS_createFolder (parent, name, canRead, canWrite)

function bwip-js.freetype.FS_createLazyFile (parent, name, url, canRead, canWrite)

function bwip-js.freetype.FS_createLink (parent, name, target, canRead, canWrite)

function bwip-js.freetype.FS_createPath (parent, path, canRead, canWrite)

function bwip-js.freetype.FS_createPreloadedFile (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish)

function bwip-js.freetype.FS_unlink (path)

function bwip-js.freetype.Pointer_stringify (ptr, length)

function bwip-js.freetype.UTF8ArrayToString (u8Array, idx)

function bwip-js.freetype.UTF8ToString (ptr)

function bwip-js.freetype.___errno_location ()

function bwip-js.freetype._bitshift64Lshr (a, b, c)

function bwip-js.freetype._bitshift64Shl (a, b, c)

function bwip-js.freetype._find_font (a)

function bwip-js.freetype._free (a)

function bwip-js.freetype._get_advance ()

function bwip-js.freetype._get_bitmap (b, e, f, g)

function bwip-js.freetype._get_height ()

function bwip-js.freetype._get_left ()

function bwip-js.freetype._get_pitch ()

function bwip-js.freetype._get_top ()

function bwip-js.freetype._get_width ()

function bwip-js.freetype._i64Add (a, b, c, d)

function bwip-js.freetype._i64Subtract (a, b, c, d)

function bwip-js.freetype._load_font (a, b, d)

function bwip-js.freetype._main ()

function bwip-js.freetype._malloc (a)

function bwip-js.freetype._memcpy (b, d, e)

function bwip-js.freetype._memmove (b, c, d)

function bwip-js.freetype._memset (b, d, e)

function bwip-js.freetype._monochrome (a)

function bwip-js.freetype._realloc (a, b)

function bwip-js.freetype._saveSetjmp (a, b, d, e)

function bwip-js.freetype._testSetjmp (a, b, d)

function bwip-js.freetype.abort (what)

function bwip-js.freetype.addOnExit (cb)

function bwip-js.freetype.addOnInit (cb)

function bwip-js.freetype.addOnPostRun (cb)

function bwip-js.freetype.addOnPreMain (cb)

function bwip-js.freetype.addOnPreRun (cb)

function bwip-js.freetype.addRunDependency (id)

function bwip-js.freetype.allocate (slab, types, allocator, ptr)

function bwip-js.freetype.callMain (args)

function bwip-js.freetype.ccall (ident, returnType, argTypes, args, opts)

function bwip-js.freetype.createContext (canvas, useWebGL, setInModule, webGLContextAttributes)

function bwip-js.freetype.cwrap (ident, returnType, argTypes)

function bwip-js.freetype.dynCall_ii (a, b)

function bwip-js.freetype.dynCall_iii (a, b, c)

function bwip-js.freetype.dynCall_iiii (a, b, c, d)

function bwip-js.freetype.dynCall_iiiii (a, b, c, d, e)

function bwip-js.freetype.dynCall_iiiiii (a, b, c, d, e, f)

function bwip-js.freetype.dynCall_iiiiiii (a, b, c, d, e, f, g)

function bwip-js.freetype.dynCall_iiiiiiii (a, b, c, d, e, f, g, h)

function bwip-js.freetype.dynCall_iiiiiiiiii (a, b, c, d, e, f, g, h, i, j)

function bwip-js.freetype.dynCall_vi (a, b)

function bwip-js.freetype.dynCall_vii (a, b, c)

function bwip-js.freetype.dynCall_viii (a, b, c, d)

function bwip-js.freetype.dynCall_viiii (a, b, c, d, e)

function bwip-js.freetype.dynCall_viiiii (a, b, c, d, e, f)

function bwip-js.freetype.dynCall_viiiiii (a, b, c, d, e, f, g)

function bwip-js.freetype.exit (status, implicit)

function bwip-js.freetype.getMemory (size)

function bwip-js.freetype.getUserMedia ()

function bwip-js.freetype.getValue (ptr, type, noSafe)

function bwip-js.freetype.inspect ()

function bwip-js.freetype.intArrayFromString (stringy, dontAddNull, length)

function bwip-js.freetype.intArrayToString (array)

function bwip-js.freetype.lengthBytesUTF8 (str)

function bwip-js.freetype.load (f)

function bwip-js.freetype.pauseMainLoop ()

function bwip-js.freetype.print ()

function bwip-js.freetype.printErr ()

function bwip-js.freetype.read (filename, binary)

function bwip-js.freetype.readBinary (filename)

function bwip-js.freetype.removeRunDependency (id)

function bwip-js.freetype.requestAnimationFrame (func)

function bwip-js.freetype.requestFullScreen (lockPointer, resizeCanvas, vrDevice)

function bwip-js.freetype.resumeMainLoop ()

function bwip-js.freetype.run (args)

function bwip-js.freetype.runPostSets ()

function bwip-js.freetype.setCanvasSize (width, height, noUpdates)

function bwip-js.freetype.setValue (ptr, value, type, noSafe)

function bwip-js.freetype.stackTrace ()

function bwip-js.freetype.stringToAscii (str, outPtr)

function bwip-js.freetype.stringToUTF8 (str, outPtr, maxBytesToWrite)

function bwip-js.freetype.stringToUTF8Array (str, outU8Array, outIdx, maxBytesToWrite)

function bwip-js.freetype.writeArrayToMemory (array, buffer)

function bwip-js.freetype.writeAsciiToMemory (str, buffer, dontAddNull)

function bwip-js.freetype.writeStringToMemory (string, buffer, dontAddNull)

[ this document was created with utility2 ]