Structure representing the bitmap generated for a barcode. More...
#include "barcodeapi.h"
Data Fields | |
int32 | pixels_per_module |
enum sw_barcode_type | barcode_type |
enum sw_barcode_color_encoding | color_encoding |
uint8 * | display_text |
int32 | display_text_len |
uint8 * | buffer |
int32 | width |
int32 | height |
Structure representing the bitmap generated for a barcode.
enum sw_barcode_type sw_barcode_bitmap::barcode_type |
Gets set to the type of barcode that has been generated.
uint8* sw_barcode_bitmap::buffer |
Points to the the raw image data generated by barcode_render(). Color encoding is specified by color_encoding.
enum sw_barcode_color_encoding sw_barcode_bitmap::color_encoding |
How have the bitmap color pixels been encoded? Determines bits/bytes per pixel.
uint8* sw_barcode_bitmap::display_text |
Pointer to barcode UTF8 data string to show as text.
int32 sw_barcode_bitmap::display_text_len |
Barcode data string length.
int32 sw_barcode_bitmap::height |
The height of the raw image data produced by barcode_render().
int32 sw_barcode_bitmap::pixels_per_module |
How many pixels have been used per module. Must be >= 1.
int32 sw_barcode_bitmap::width |
The width of the raw image data produced by barcode_render().