Table Of Contents

Previous topic

GBSpan

Next topic

GDIObject

This Page

phoenix_title GCDC

GCDC is a device context that draws on a GraphicsContext.


class_hierarchy Inheritance Diagram

Inheritance diagram for class GCDC

Inheritance diagram of GCDC


method_summary Methods Summary

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

api Class API



class GCDC(DC)

GCDC is a device context that draws on a GraphicsContext.

Possible constructors:

GCDC(windowDC)

GCDC(memoryDC)

GCDC(printerDC)

GCDC(context)

GCDC()

Methods



__init__(self, *args, **kw)

overload 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)





GetGraphicsContext(self)

Retrieves associated GraphicsContext.

Return type: GraphicsContext


SetGraphicsContext(self, ctx)

Set the grpahics context to be used for this GCDC.

Parameters:ctx (GraphicsContext) –

Properties



GraphicsContext

See GetGraphicsContext and SetGraphicsContext