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