Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.0 KiB

/******************************Module*Header*******************************\
* Module Name: CBitmap.h
*
* This file contains the code to support the functionality test harness
* for GDI+. This includes menu options and calling the appropriate
* functions for execution.
*
* Created: 08-08-2000 - asecchia
*
* Copyright (c) 2000 Microsoft Corporation
*
\**************************************************************************/
#ifndef __CBITMAP_H
#define __CBITMAP_H
#include "COutput.h"
class CBitmap : public COutput
{
public:
CBitmap(BOOL bRegression, PixelFormat pixelFormat);
virtual ~CBitmap();
Graphics *PreDraw(int &nOffsetX,int &nOffsetY); // Set up graphics at the given X,Y offset
void PostDraw(RECT rTestArea); // Finish off graphics at rTestArea
BOOL WriteBitmap(char *szTitle, HBITMAP hbitmap, INT width, INT height);
void InitPalettes(); // Initialize palettes
Bitmap *m_bmp;
PixelFormat m_PixelFormat; // # of bits to use
};
#endif