GCDC¶GCDC is a device context that draws on a GraphicsContext.
See also
Methods Summary¶| __init__ | Constructs a GCDC from a WindowDC. |
| GetGraphicsContext | Retrieves associated GraphicsContext. |
| SetGraphicsContext | Set the grpahics context to be used for this GCDC. |
Class API¶GCDC is a device context that draws on a GraphicsContext.
Possible constructors:
GCDC(windowDC)
GCDC(memoryDC)
GCDC(printerDC)
GCDC(context)
GCDC()
Overloaded Implementations:
__init__ (self, windowDC)
Constructs a GCDC from a WindowDC.
| Parameters: | windowDC (WindowDC) – |
|---|
__init__ (self, memoryDC)
Constructs a GCDC from a MemoryDC.
| Parameters: | memoryDC (MemoryDC) – |
|---|
__init__ (self, printerDC)
Constructs a GCDC from a PrinterDC.
| Parameters: | printerDC (PrinterDC) – |
|---|
__init__ (self, context)
Construct a GCDC from an existing grtaphics context.
| Parameters: | context (GraphicsContext) – |
|---|
__init__ (self)
Retrieves associated GraphicsContext.
| Return type: | GraphicsContext |
|---|
Set the grpahics context to be used for this GCDC.
| Parameters: | ctx (GraphicsContext) – |
|---|
See GetGraphicsContext and SetGraphicsContext