new()->wxGCDC()new(WindowDC)->wxGCDC()
Types:
WindowDC =
wxWindowDC:wxWindowDC() |
wxMemoryDC:wxMemoryDC() |
wxGraphicsContext:wxGraphicsContext()
Constructs a wxGCDC from a wxWindowDC.
destroy(This::wxGCDC())->okgetGraphicsContext(This)->wxGraphicsContext:wxGraphicsContext()
Types:
This = wxGCDC()
Retrieves associated wxGraphicsContext.
setGraphicsContext(This,Context)->ok
Types:
This = wxGCDC()
Context = wxGraphicsContext:wxGraphicsContext()
Set the graphics context to be used for this wxGCDC.
Note that this object takes ownership of context and will delete it when it is destroyed or when
setGraphicsContext/2 is called again.
Also, unlike the constructor taking wxGraphicsContext, this method will reapply the current font,
pen and brush, so that this object continues to use them, if they had been changed before (which
is never the case when constructing wxGCDC directly from wxGraphicsContext).
wxWidgets team. wx 2.1.1 wxGCDC(3erl)