Version: 2.9.4
Public Member Functions
wxGCDC Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/dcgraph.h>

Inheritance diagram for wxGCDC:

Detailed Description

wxGCDC is a device context that draws on a wxGraphicsContext.

Library:  wxCore
Category:  Device Contexts
参照:
wxDC, wxGraphicsContext

Public Member Functions

 wxGCDC (const wxWindowDC &windowDC)
 Constructs a wxGCDC from a wxWindowDC.
 wxGCDC (const wxMemoryDC &memoryDC)
 Constructs a wxGCDC from a wxMemoryDC.
 wxGCDC (const wxPrinterDC &printerDC)
 Constructs a wxGCDC from a wxPrinterDC.
 wxGCDC (wxGraphicsContext *context)
 Construct a wxGCDC from an existing grtaphics context.
 wxGCDC (const wxEnhMetaFileDC &emfDC)
 Constructs a wxGCDC from a wxEnhMetaFileDC.
 wxGCDC ()
virtual ~wxGCDC ()
wxGraphicsContextGetGraphicsContext () const
 Retrieves associated wxGraphicsContext.
void SetGraphicsContext (wxGraphicsContext *ctx)
 Set the grpahics context to be used for this wxGCDC.

List of all members.


Constructor & Destructor Documentation

wxGCDC::wxGCDC ( const wxWindowDC windowDC)

Constructs a wxGCDC from a wxWindowDC.

wxGCDC::wxGCDC ( const wxMemoryDC memoryDC)

Constructs a wxGCDC from a wxMemoryDC.

wxGCDC::wxGCDC ( const wxPrinterDC printerDC)

Constructs a wxGCDC from a wxPrinterDC.

wxGCDC::wxGCDC ( wxGraphicsContext context)

Construct a wxGCDC from an existing grtaphics context.

wxGCDC::wxGCDC ( const wxEnhMetaFileDC &  emfDC)

Constructs a wxGCDC from a wxEnhMetaFileDC.

This constructor is only available in wxMSW port and when wxUSE_ENH_METAFILE build option is enabled, i.e. when wxEnhMetaFileDC class itself is available.

Since:
2.9.3
wxGCDC::wxGCDC ( )
virtual wxGCDC::~wxGCDC ( ) [virtual]

Member Function Documentation

wxGraphicsContext* wxGCDC::GetGraphicsContext ( ) const

Retrieves associated wxGraphicsContext.

void wxGCDC::SetGraphicsContext ( wxGraphicsContext ctx)

Set the grpahics context to be used for this wxGCDC.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines