svgapi.cpp File Reference

Public API functions to create barcodes in SVG. More...


Functions

ERRCODE BCSVGToFileA (t_BarCode* pBarCode, LPCSTR szFilename, LPCRECT pRect)
 Saves barcode as a SVG-file. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.
See also:
BCSVGToMemory() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Filename. \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


ERRCODE BCSVGToFileW (t_BarCode* pBarCode, LPCWSTR szFilename, LPCRECT pRect)
 Saves barcode as a SVG-file. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.
See also:
BCSVGToMemory() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Filename. \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


ERRCODE BCSVGToMemory (t_BarCode* pBarCode, VOID* pHandle, INT* pnSize, LPCRECT pRect)
 Writes barcode (SVG) into memory-block. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.
See also:
BCSVGToMemoryExt() \param[in] pBarCode Pointer to barcode structure. \param[in,out] pHandle Pointer to memory block. \param[in, out] pnSize Size of memory block as allocated. Contains required size after function call (including a terminating 0-byte). \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.



Detailed Description

Public API functions to create barcodes in SVG.

Required include file: "tbarcode.h"

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


Function Documentation

ERRCODE BCSVGToFileA ( t_BarCode * pBarCode,
LPCSTR szFilename,
LPCRECT pRect )

Saves barcode as a SVG-file. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.

See also:
BCSVGToMemory() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Filename. \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSVGToFileW ( t_BarCode * pBarCode,
LPCWSTR szFilename,
LPCRECT pRect )

Saves barcode as a SVG-file. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.

See also:
BCSVGToMemory() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Filename. \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSVGToMemory ( t_BarCode * pBarCode,
VOID * pHandle,
INT * pnSize,
LPCRECT pRect )

Writes barcode (SVG) into memory-block. The origin of the coordinate space in SVG the is upper, left corner of a page. The positive y-axis points downwards.

See also:
BCSVGToMemoryExt() \param[in] pBarCode Pointer to barcode structure. \param[in,out] pHandle Pointer to memory block. \param[in, out] pnSize Size of memory block as allocated. Contains required size after function call (including a terminating 0-byte). \param[in] pRect Bounding rectangle for barcode dimensions [1/1000 mm]. left / bottom must be zero, top / right specifies barcode dimensions [1/1000 mm].
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Sat Jul 13 03:16:06 2019 for TBarCode Library 11 with doxygen 1.1.5