Mention wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
wxWidgets offers an alternative drawing API based on the modern drawing
|
wxWidgets offers an alternative drawing API based on the modern drawing
|
||||||
backends GDI+, CoreGraphics and Cairo. See wxGraphicsContext, wxGraphicsRenderer
|
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.
|
wxDC is an abstract base class and cannot be created directly.
|
||||||
Use wxPaintDC, wxClientDC, wxWindowDC, wxScreenDC, wxMemoryDC or
|
Use wxPaintDC, wxClientDC, wxWindowDC, wxScreenDC, wxMemoryDC or
|
||||||
|
44
interface/dcgraph.h
Normal file
44
interface/dcgraph.h
Normal 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();
|
||||||
|
};
|
||||||
|
|
@@ -229,7 +229,7 @@ public:
|
|||||||
@library{wxcore}
|
@library{wxcore}
|
||||||
@category{FIXME}
|
@category{FIXME}
|
||||||
|
|
||||||
@see wxGraphicsRenderer:: CreateContext
|
@see wxGraphicsRenderer::CreateContext(), wxGCDC, wxDC
|
||||||
*/
|
*/
|
||||||
class wxGraphicsContext : public wxGraphicsObject
|
class wxGraphicsContext : public wxGraphicsObject
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user