wxWidgets offers an alternative drawing API based on the modern drawing
backends GDI+, CoreGraphics and Cairo. See wxGraphicsContext, wxGraphicsRenderer
- and related classes.
+ and related classes. There is also a wxGCDC linking the APIs by offering
+ the wxDC API ontop of a wxGraphicsContext.
wxDC is an abstract base class and cannot be created directly.
Use wxPaintDC, wxClientDC, wxWindowDC, wxScreenDC, wxMemoryDC or
- wxFLOOD_BORDER: The area to be flooded is bounded by the given
colour.
- @returns @false if the operation failed.
+ @return @false if the operation failed.
@note The present implementation for non-Windows platforms may fail to
find colour borders if the pixels do not match the colour
@a string is the text string to measure, @e heightLine, if non @NULL,
is where to store the height of a single line.
- @returns The text extent as a wxSize object.
+ @return The text extent as a wxSize object.
@note This function works with both single-line and multi-line strings.