Windows2003-3790/windows/advcore/gdiplus/test/cycloid/object.hpp

36 lines
701 B
C++
Raw Normal View History

2001-01-01 00:00:00 +01:00
/**************************************************************************
*
* Copyright (c) 2000 Microsoft Corporation
*
* Module Name:
*
* Object ancestor
*
* Abstract:
*
* Ancestor class for all drawing objects
*
* Created:
*
* 06/17/2000 asecchia
* Created it.
*
**************************************************************************/
#ifndef _OBJECT_HPP
#define _OBJECT_HPP
#include "precomp.hpp"
class DrawingObject {
public:
DrawingObject() {}
// Tell the object to draw itself on this graphics,
// given a set of dimensions
virtual void Draw(Graphics *g, int x, int y, int width, int height) = 0;
};
#endif