Version: 3.0.3
Device Contexts

Detailed Description

Device contexts are surfaces that may be drawn on, and provide an abstraction that allows parameterisation of your drawing code by passing different device contexts.

Related Overviews: Device Contexts

Classes

struct  wxFontMetrics
 Simple collection of various font metrics. More...
 
class  wxDC
 A wxDC is a "device context" onto which graphics and text can be drawn. More...
 
class  wxBufferedDC
 This class provides a simple way to avoid flicker: when drawing on it, everything is in fact first drawn on an in-memory buffer (a wxBitmap) and then copied to the screen, using the associated wxDC, only once, when this object is destroyed. More...
 
class  wxAutoBufferedPaintDC
 This wxDC derivative can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing. More...
 
class  wxBufferedPaintDC
 This is a subclass of wxBufferedDC which can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing. More...
 
class  wxPaintDC
 A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from within an EVT_PAINT() event handler. More...
 
class  wxClientDC
 A wxClientDC must be constructed if an application wishes to paint on the client area of a window from outside an EVT_PAINT() handler. More...
 
class  wxWindowDC
 A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations). More...
 
class  wxGCDC
 wxGCDC is a device context that draws on a wxGraphicsContext. More...
 
class  wxMemoryDC
 A memory device context provides a means to draw graphics onto a bitmap. More...
 
class  wxMirrorDC
 wxMirrorDC is a simple wrapper class which is always associated with a real wxDC object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and y coordinates which makes it possible to reuse the same code to draw a figure and its mirror – i.e. More...
 
class  wxPostScriptDC
 This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform. More...
 
class  wxScreenDC
 A wxScreenDC can be used to paint on the screen. More...
 
class  wxSVGFileDC
 A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output produced as a vector file, in SVG format. More...
 
class  wxGraphicsContext
 A wxGraphicsContext instance is the object that is drawn upon. More...
 
class  wxMetafileDC
 This is a type of device context that allows a metafile object to be created (Windows only), and has most of the characteristics of a normal wxDC. More...