- StartPage
Starts a document page (only relevant when outputting to a printer).
- StartDoc
Starts a document (only relevant when outputting to a printer).
- SetUserScale
Sets the user scaling factor, useful for applications which require 'zooming'.
- SetTextForeground
Sets the current text foreground colour for the DC.
- SetTextBackground
Sets the current text background colour for the DC.
- CalcBoundingBox
Adds the specified point to the bounding box which can be retrieved with MinX(), MaxX() and MinY(), MaxY() functions.
- CanUseTransformMatrix
Check if the use of transformation matrix is supported by the current system.
- Clear
Clears the device context using the current background brush.
- CopyAttributes
Copy attributes from another DC.
- CrossHair
Displays a cross hair using the current pen.
- DestroyClippingRegion
Destroys the current clipping region so that none of the DC is clipped.
- DeviceToLogicalX
Convert device X coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.
- DeviceToLogicalXRel
Convert device X coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.
- DeviceToLogicalY
Converts device Y coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.
- DeviceToLogicalYRel
Convert device Y coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.
- DrawArc
Draws an arc from the given start to the given end point.
- DrawBitmap
Draw a bitmap on the device context at the specified point.
- DrawCheckMark
Draws a check mark inside the given rectangle.
- DrawCircle
Draws a circle with the given centre and radius.
- DrawEllipse
Draws an ellipse contained in the rectangle specified either with the given top left corner and the given size or directly.
- DrawEllipticArc
Draws an arc of an ellipse.
- DrawIcon
Draw an icon on the display (does nothing if the device context is PostScript).
- DrawLabel
Draw optional bitmap and the text into the given rectangle and aligns it as specified by alignment parameter; it also will emphasize the character with the given index if it is != -1 and return the bounding rectangle if required.
- DrawLine
Draws a line from the first point to the second.
- DrawPoint
Draws a point using the color of the current pen.
- DrawRectangle
Draws a rectangle with the given top left corner, and with the given size.
- DrawRotatedText
Draws the text rotated by angle degrees (positive angles are counterclockwise; the full angle is 360 degrees).
- DrawRoundedRectangle
Draws a rectangle with the given top left corner, and with the given size.
- DrawSpline
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- DrawText
Draws a text string at the specified point, using the current text font, and the current text foreground and background colours.
- EndDoc
Ends a document (only relevant when outputting to a printer).
- EndPage
Ends a document page (only relevant when outputting to a printer).
- FloodFill
Flood fills the device context starting from the given point, using the current brush colour, and using a style:
- GetBackground
Gets the brush used for painting the background.
- GetBackgroundMode
Returns the current background mode: wxSOLID or wxTRANSPARENT.
- GetBrush
Gets the current brush.
- GetCharHeight
Gets the character height of the currently set font.
- GetCharWidth
Gets the average character width of the currently set font.
- GetClippingBox
Gets the rectangle surrounding the current clipping region.
- GetDepth
Returns the depth (number of bits/pixel) of this DC.
- GetDeviceOrigin
Returns the current device origin.
- GetFont
Gets the current font.
- GetLayoutDirection
Gets the current layout direction of the device context.
- GetLogicalFunction
Gets the current logical function.
- GetLogicalOrigin
- GetLogicalScale
- GetMapMode
Gets the current mapping mode for the device context.
- GetMultiLineTextExtent
Gets the dimensions of the string using the currently selected font.
- GetPPI
Returns the resolution of the device in pixels per inch.
- GetPen
Gets the current pen.
- GetPixel
Gets in colour the colour at the specified location.
- GetSize
Gets the horizontal and vertical extent of this device context in device units.
- GetSizeMM
Returns the horizontal and vertical resolution in millimetres.
- GetTextBackground
Gets the current text background colour.
- GetTextExtent
Gets the dimensions of the string using the currently selected font.
- GetTextForeground
Gets the current text foreground colour.
- GetUserScale
Gets the current user scale factor.
- GradientFillConcentric
Fill the area specified by rect with a radial gradient, starting from initialColour at the centre of the circle and fading to destColour on the circle outside.
- GradientFillLinear
Fill the area specified by rect with a linear gradient, starting from initialColour and eventually fading to destColour.
- IsOk
Returns true if the DC is ok to use.
- LogicalToDeviceX
Converts logical X coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.
- LogicalToDeviceY
Converts logical Y coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.
- LogicalToDeviceXRel
Converts logical X coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.
- LogicalToDeviceYRel
Converts logical Y coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.
- MaxX
Gets the maximum horizontal extent used in drawing commands so far.
- MaxY
Gets the maximum vertical extent used in drawing commands so far.
- MinX
Gets the minimum horizontal extent used in drawing commands so far.
- MinY
Gets the minimum vertical extent used in drawing commands so far.
- ResetBoundingBox
Resets the bounding box: after a call to this function, the bounding box doesn't contain anything.
- ResetTransformMatrix
Revert the transformation matrix to identity matrix.
- SetAxisOrientation
Sets the x and y axis orientation (i.e. the direction from lowest to highest values on the axis).
- SetBackground
Sets the current background brush for the DC.
- SetBackgroundMode
mode may be one of wxSOLID and wxTRANSPARENT.
- SetBrush
Sets the current brush for the DC.
- SetClippingRegion
Sets the clipping region for this device context to the intersection of the given region described by the parameters of this method and the previously set clipping region.
- SetDeviceClippingRegion
Sets the clipping region for this device context.
- SetDeviceOrigin
Sets the device origin (i.e. the origin in pixels after scaling has been applied).
- SetFont
Sets the current font for the DC.
- SetLayoutDirection
Sets the current layout direction for the device context.
- SetLogicalFunction
Sets the current logical function for the device context.
- SetLogicalOrigin
- SetLogicalScale
- SetMapMode
The mapping mode of the device context defines the unit of measurement used to convert logical units to device units.
- SetPalette
If this is a window DC or memory DC, assigns the given palette to the window or bitmap associated with the DC.
- SetPen
Sets the current pen for the DC.
- StretchBlit
Copy from a source DC to this DC possibly changing the scale.
- Blit
Copy from a source DC to this DC.