Windows2003-3790/windows/advcore/gdiplus/test/functest/cprimitive.h

43 lines
879 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
/******************************Module*Header*******************************\
* Module Name: CPrimitive.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: 05-May-2000 - Jeff Vezina [t-jfvez]
*
* Copyright (c) 2000 Microsoft Corporation
*
\**************************************************************************/
#ifndef __CPRIMITIVE_H
#define __CPRIMITIVE_H
#include "Global.h"
class CPrimitive
{
public:
CPrimitive();
virtual ~CPrimitive();
virtual BOOL Init();
virtual void Draw(Graphics *g)=0;
void SetOffset(int x, int y)
{
m_ix = x;
m_iy = y;
}
char m_szName[256];
BOOL m_bRegression;
// Offset for this test.
INT m_ix;
INT m_iy;
};
#endif