1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcmemory.h
|
|
|
|
// Purpose: wxMemoryDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_DCMEMORY_H_
|
|
|
|
#define _WX_DCMEMORY_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcmemory.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
1999-10-18 11:14:52 -04:00
|
|
|
class WXDLLEXPORT wxMemoryDC : public wxDC
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
1999-10-18 11:14:52 -04:00
|
|
|
public:
|
|
|
|
wxMemoryDC();
|
|
|
|
wxMemoryDC(wxDC *dc); // Create compatible DC
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1999-10-18 11:14:52 -04:00
|
|
|
~wxMemoryDC();
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1999-10-18 11:14:52 -04:00
|
|
|
virtual void SelectObject(const wxBitmap& bitmap);
|
|
|
|
|
|
|
|
virtual void DoGetSize(int* width, int* height) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_DCMEMORY_H_
|