1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
/*
/--------------------------------------------------------------------
|
| $Id: drawhelp.cpp,v 1.4 2002/03/31 13:36:42 uzadow Exp $
|
| Copyright (c) 1996-2002 Ulrich von Zadow
|
--------------------------------------------------------------------
*/
#include "stdafx.h"
#include "drawhelp.h"
#include "dibgrit.h"
void DrawOnBmp
( PLBmp * pDestBmp,
CRect * pDestRect,
PLBmp * pSrPLBmp,
PLBYTE Opacity
)
{
CDIBGrItem DIBItem (pDestRect->left, pDestRect->top,
pDestRect->Width(), pDestRect->Height(),
0, Opacity, pSrPLBmp);
DIBItem.Draw (pDestBmp, pDestRect);
}
/*
/--------------------------------------------------------------------
|
| $Log: drawhelp.cpp,v $
| Revision 1.4 2002/03/31 13:36:42 uzadow
| Updated copyright.
|
| Revision 1.3 2001/09/16 19:03:23 uzadow
| Added global name prefix PL, changed most filenames.
|
|
--------------------------------------------------------------------
*/
|