Mention wxGCDC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-04-30 09:34:15 +00:00
parent b25c34aae4
commit 6d99a337a7
3 changed files with 47 additions and 2 deletions

View File

@@ -16,7 +16,8 @@
wxWidgets offers an alternative drawing API based on the modern drawing
backends GDI+, CoreGraphics and Cairo. See wxGraphicsContext, wxGraphicsRenderer
and related classes.
and related classes. There is also a wxGCDC linking the APIs by offering
the wxDC API ontop of a wxGraphicsContext.
wxDC is an abstract base class and cannot be created directly.
Use wxPaintDC, wxClientDC, wxWindowDC, wxScreenDC, wxMemoryDC or

44
interface/dcgraph.h Normal file
View File

@@ -0,0 +1,44 @@
/////////////////////////////////////////////////////////////////////////////
// Name: dcgraph.h
// Purpose: interface of wxGCDC
// Author: wxWidgets team
// RCS-ID: $Id: $
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
/**
@class wxGCDC
@wxheader{dcgraph.h}
wxGCDC is a device context that draws on a wxGraphicsContext.
@library{wxcore}
@category{dc}
@see wxDC, wxGraphicsContext
*/
class wxGCDC: public wxDC
{
public:
/**
Constructs a wxGCDC from a wxWindowDC.
*/
wxGCDC( const wxWindowDC& dc );
/**
Constructs a wxGCDC from a wxMemoryDC.
*/
wxGCDC( const wxMemoryDC& dc );
/**
Constructs a wxGCDC from a wxPrinterDC.
*/
wxGCDC( const wxPrinterDC& dc );
/**
Retrieves associated wxGraphicsContext
*/
wxGraphicsContext* GetGraphicsContext();
};

View File

@@ -229,7 +229,7 @@ public:
@library{wxcore}
@category{FIXME}
@see wxGraphicsRenderer:: CreateContext
@see wxGraphicsRenderer::CreateContext(), wxGCDC, wxDC
*/
class wxGraphicsContext : public wxGraphicsObject
{