+:see: `SetBackground`");
+
+ DocDeclStr(
+ const wxBrush& , GetBrush() const,
+ "Gets the current brush", "");
+
+ DocDeclStr(
+ const wxFont& , GetFont() const,
+ "Gets the current font", "");
+
+ DocDeclStr(
+ const wxPen& , GetPen() const,
+ "Gets the current pen", "");
+
+ DocDeclStr(
+ const wxColour& , GetTextBackground() const,
+ "Gets the current text background colour", "");
+
+ DocDeclStr(
+ const wxColour& , GetTextForeground() const,
+ "Gets the current text foreground colour", "");
+
+
+ DocDeclStr(
+ virtual void , SetTextForeground(const wxColour& colour),
+ "Sets the current text foreground colour for the DC.", "");
+
+ DocDeclStr(
+ virtual void , SetTextBackground(const wxColour& colour),
+ "Sets the current text background colour for the DC.", "");
+
+
+ DocDeclStr(
+ int , GetMapMode() const,
+ "Gets the current *mapping mode* for the device context ", "");
+
+ DocDeclStr(
+ virtual void , SetMapMode(int mode),
+ "The *mapping mode* of the device context defines the unit of
+measurement used to convert logical units to device units. The
+mapping mode can be one of the following:
+
+ ================ =============================================
+ wx.MM_TWIPS Each logical unit is 1/20 of a point, or 1/1440
+ of an inch.
+ wx.MM_POINTS Each logical unit is a point, or 1/72 of an inch.
+ wx.MM_METRIC Each logical unit is 1 mm.
+ wx.MM_LOMETRIC Each logical unit is 1/10 of a mm.
+ wx.MM_TEXT Each logical unit is 1 pixel.
+ ================ =============================================
+","
+Note that in X, text drawing isn't handled consistently with the
+mapping mode; a font is always specified in point size. However,
+setting the user scale (see `SetUserScale`) scales the text
+appropriately. In Windows, scalable TrueType fonts are always used; in
+X, results depend on availability of fonts, but usually a reasonable
+match is found.
+
+The coordinate origin is always at the top left of the screen/printer.
+
+Drawing to a Windows printer device context uses the current mapping
+mode, but mapping mode is currently ignored for PostScript output.
+");
+
+
+
+ DocDeclAStr(
+ virtual void, GetUserScale(double *OUTPUT, double *OUTPUT) const,
+ "GetUserScale(self) -> (xScale, yScale)",
+ "Gets the current user scale factor (set by `SetUserScale`).", "");
+
+ DocDeclStr(
+ virtual void , SetUserScale(double x, double y),
+ "Sets the user scaling factor, useful for applications which require
+'zooming'.", "");
+
+
+
+ DocDeclA(
+ virtual void, GetLogicalScale(double *OUTPUT, double *OUTPUT),
+ "GetLogicalScale() -> (xScale, yScale)");