File: drawhelp.cpp

package info (click to toggle)
paintlib 2.6.2-14
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,920 kB
  • ctags: 3,874
  • sloc: cpp: 25,209; sh: 10,605; ansic: 1,891; makefile: 120
file content (42 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (3)
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.
|
|
--------------------------------------------------------------------
*/