Harlequin RIP SDK
sw_barcode_bitmap Struct Reference

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
 
uint8display_text
 
int32 display_text_len
 
uint8buffer
 
int32 width
 
int32 height
 

Detailed Description

Structure representing the bitmap generated for a barcode.

Field Documentation

◆ barcode_type

enum sw_barcode_type sw_barcode_bitmap::barcode_type

Gets set to the type of barcode that has been generated.

◆ buffer

uint8* sw_barcode_bitmap::buffer

Points to the the raw image data generated by barcode_render(). Color encoding is specified by color_encoding.

◆ 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.

◆ display_text

uint8* sw_barcode_bitmap::display_text

Pointer to barcode UTF8 data string to show as text.

◆ display_text_len

int32 sw_barcode_bitmap::display_text_len

Barcode data string length.

◆ height

int32 sw_barcode_bitmap::height

The height of the raw image data produced by barcode_render().

◆ pixels_per_module

int32 sw_barcode_bitmap::pixels_per_module

How many pixels have been used per module. Must be >= 1.

◆ width

int32 sw_barcode_bitmap::width

The width of the raw image data produced by barcode_render().


The documentation for this struct was generated from the following file: