Files
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

33 lines
838 B
C++

//========================================================================
//
// PDF417Barcode.h
//
// Copyright 2018 Glyph & Cog, LLC
//
//========================================================================
#ifndef PDF417BARCODE_H
#define PDF417BARCODE_H
#include <aconf.h>
#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif
class GString;
// Draw a PDF417 barcode:
// fieldWidth, fieldHeight = field size (in points)
// moduleWidth, moduleHeight = requested module size (in points)
// errorCorrectionLevel = 0 .. 8
// value = byte string
// output is appended to appearBuf
// Returns true on success, false on error.
extern GBool drawPDF417Barcode(double fieldWidth, double fieldHeight,
double moduleWidth, double moduleHeight,
int errorCorrectionLevel, GString *value,
GString *appearBuf);
#endif