www.pudn.com > Barcode_src.zip > RationalCodabar.cpp
// RationalCodabar.cpp: implementation of the CRationalCodabar class.
//
// Copyright 2002 Neil Van Eps
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RationalCodabar.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CRationalCodabar::CRationalCodabar()
{
// rational codabar
m_nSymbology = RATIONALCODABAR;
}
CRationalCodabar::~CRationalCodabar()
{
}
////////////////////////////////////////////////////////////////////////////////////
//
// Name:
// DrawBitmap()
//
// Description:
// draws a barcode using the previously loaded data
//
// Arguments:
// none
//
// Return:
// void
//
// Called by:
// public class interface
//
////////////////////////////////////////////////////////////////////////////////////
void CRationalCodabar::DrawBitmap()
{
int i;
// draw each character in the message
for (i=0;i