TBarCode Library 11 TBarCode Library 11
callbackapi.cpp File Reference

Public API functions for callback functions (customized drawing). More...

Functions

fn_DrawRow BCGetFuncDrawRow (t_BarCode *pBarCode)
 Gets call-back function for drawing a single row of a barcode.
ERRCODE BCSetFuncDrawRow (t_BarCode *pBarCode, fn_DrawRow fn)
 Sets the callback function for drawing a single row of a barcode.
fn_DrawBar BCGetFuncDrawBar (t_BarCode *pBarCode)
 Gets call-back function for drawing a bar.
ERRCODE BCSetFuncDrawBar (t_BarCode *pBarCode, fn_DrawBar fn)
 Sets call-back function for drawing the bars of a barcode.
fn_DrawColoredBar BCGetFuncDrawColoredBar (t_BarCode *pBarCode)
 Gets call-back function for drawing a colored bar.
ERRCODE BCSetFuncDrawColoredBar (t_BarCode *pBarCode, fn_DrawColoredBar fn)
 Sets call-back function for drawing colored bars.
fn_DrawTextA BCGetFuncDrawTextA (t_BarCode *pBarCode)
 Gets call-back function for drawing a text Returns currently adjusted function pointer.
fn_DrawTextW BCGetFuncDrawTextW (t_BarCode *pBarCode)
ERRCODE BCSetFuncDrawTextA (t_BarCode *pBarCode, fn_DrawTextA fn)
 Sets call-back function for drawing the human readable text of a barcode.
ERRCODE BCSetFuncDrawTextW (t_BarCode *pBarCode, fn_DrawTextW fn)
fn_DrawRing BCGetFuncDrawRing (t_BarCode *pBarCode)
 Gets call-back function for drawing a MaxiCode finder ring.
ERRCODE BCSetFuncDrawRing (t_BarCode *pBarCode, fn_DrawRing fn)
 Sets call-back function for drawing the MaxiCode finder rings.
fn_DrawHexagon BCGetFuncDrawHexagon (t_BarCode *pBarCode)
 Gets call-back function for drawing a MaxiCode hexagon.
ERRCODE BCSetFuncDrawHexagon (t_BarCode *pBarCode, fn_DrawHexagon fn)
 Sets call-back function for drawing the MaxiCode finder rings.
LPVOID BCGetCBData (t_BarCode *pBarCode)
 Gets the user-defined data that is passed to the callback functions.
VOID BCSetCBData (t_BarCode *pBarCode, LPVOID customData)
 Sets the user-defined data that is passed to the callback functions.
ERRCODE BCDrawCB (t_BarCode *pBarCode, HDC hDC, RECT *pRectBounding)
 Callback version of barcode draw function.
LPCSTR BCGetMetaDataA (t_BarCode *pBarCode)
 Returns meta-representation of a barcode.
LPCWSTR BCGetMetaDataW (t_BarCode *pBarCode)
COLORREF BCGetColorFromMetaData (t_BarCode *pBarCode, INT chMeta)
 Converts a single meta character returned by BCGetMetaData into a corresponding color value.

Detailed Description

Public API functions for callback functions (customized drawing).

Required include file: "tbarcode.h"

Author
TEC-IT Datenverarbeitung GmbH
Hans-Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH

© 2026 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on for TBarCode Library 11 with doxygen 1.15.0