1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcmemory.h
|
|
|
|
// Purpose: wxMemoryDC class
|
1999-10-05 18:10:56 -04:00
|
|
|
// Author: David Webster
|
1999-07-29 01:11:30 -04:00
|
|
|
// Modified by:
|
1999-10-05 18:10:56 -04:00
|
|
|
// Created: 09/09/99
|
1999-07-29 01:11:30 -04:00
|
|
|
// RCS-ID: $Id$
|
1999-10-05 18:10:56 -04:00
|
|
|
// Copyright: (c) David Webster
|
|
|
|
// Licence: wxWindows licence
|
1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCMEMORY_H_
|
|
|
|
#define _WX_DCMEMORY_H_
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
1999-10-14 18:36:24 -04:00
|
|
|
class WXDLLEXPORT wxMemoryDC: public wxDC
|
1999-07-29 01:11:30 -04:00
|
|
|
{
|
2001-03-22 18:23:19 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
|
1999-07-29 01:11:30 -04:00
|
|
|
|
2001-03-22 18:23:19 -05:00
|
|
|
public:
|
1999-07-29 01:11:30 -04:00
|
|
|
wxMemoryDC(void);
|
2001-03-22 18:23:19 -05:00
|
|
|
wxMemoryDC(wxDC* pDC); // Create compatible DC
|
1999-10-01 21:44:39 -04:00
|
|
|
|
1999-07-29 01:11:30 -04:00
|
|
|
~wxMemoryDC(void);
|
2001-03-22 18:23:19 -05:00
|
|
|
virtual void SelectObject(const wxBitmap& rBitmap);
|
|
|
|
virtual void DoGetSize( int* pWidth
|
|
|
|
,int* pHeight
|
|
|
|
) const;
|
|
|
|
}; // end of CLASS wxMemoryDC
|
1999-07-29 01:11:30 -04:00
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_DCMEMORY_H_
|