Phoenix Logo

phoenix_title wx.GCDC

wx.GCDC is a device context that draws on a wx.GraphicsContext.


class_hierarchy Class Hierarchy

Inheritance diagram for class GCDC:


method_summary Methods Summary

__init__ Constructs a wx.GCDC from a wx.WindowDC.
GetGraphicsContext Retrieves associated wx.GraphicsContext.
SetGraphicsContext Set the graphics context to be used for this wx.GCDC.

api Class API



class wx.GCDC(DC)

Possible constructors:

GCDC(windowDC)

GCDC(memoryDC)

GCDC(printerDC)

GCDC(context)

GCDC()

GCDC is a device context that draws on a GraphicsContext.


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, windowDC)

Constructs a wx.GCDC from a wx.WindowDC.

Parameters:windowDC (wx.WindowDC) –



__init__ (self, memoryDC)

Constructs a wx.GCDC from a wx.MemoryDC.

Parameters:memoryDC (wx.MemoryDC) –



__init__ (self, printerDC)

Constructs a wx.GCDC from a wx.PrinterDC.

Parameters:printerDC (wx.PrinterDC) –



__init__ (self, context)

Construct a wx.GCDC from an existing graphics context.

Parameters:context (wx.GraphicsContext) –



__init__ (self)





GetGraphicsContext(self)

Retrieves associated wx.GraphicsContext.

Return type: wx.GraphicsContext


SetGraphicsContext(self, ctx)

Set the graphics context to be used for this wx.GCDC.

Parameters:ctx (wx.GraphicsContext) –

Properties



GraphicsContext

See GetGraphicsContext and SetGraphicsContext