MagicSmoke  $VERSION$
code39.h File Reference
#include <QImage>
#include <QString>
#include "commonexport.h"

Go to the source code of this file.

Functions

MAGICSMOKE_COMMON_EXPORT QImage code39 (QString)
 Takes a string and converts it into a code-39 bar code. More...
 

Function Documentation

MAGICSMOKE_COMMON_EXPORT QImage code39 ( QString  )

Takes a string and converts it into a code-39 bar code.

Code-39 allows letters (case-insensitive), digits, spaces and the special chars "-.$/+%". The bar code pixmap will be 1 pixel high and 16 pixels wide for each character (plus start/stop character and checksum character) - it needs to be scaled up to fit the intended size.

References c39map, c39mod, and code39mod().