/////////////////////////////////////////////////////////////////////////////
// Name: dcsvg.h
-// Purpose: documentation for wxSVGFileDC class
+// Purpose: interface of wxSVGFileDC
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@library{wxcore}
@category{FIXME}
- @seealso
- @b Members
+ @see @b Members
*/
class wxSVGFileDC : public wxDC
{
//@{
/**
Draws a circle with the given centre and radius.
-
+
@see wxDC::DrawEllipse
*/
void DrawCircle(wxCoord x, wxCoord y, wxCoord radius);
Draws an ellipse contained in the rectangle specified either with the given top
left corner and the given size or directly. The current pen is used for the
outline and the current brush for filling the shape.
-
+
@see wxDC::DrawCircle
*/
void DrawEllipse(wxCoord x, wxCoord y, wxCoord width,
Gets the brush used for painting the background (see
wxSVGFileDC::SetBackground).
*/
- wxBrush GetBackground();
- const wxBrush GetBackground();
+ wxBrush GetBackground() const;
+ const wxBrush GetBackground() const;
//@}
/**
Returns the current background mode: @c wxSOLID or @c wxTRANSPARENT.
-
+
@see wxDC::SetBackgroundMode
*/
- int GetBackgroundMode();
+ int GetBackgroundMode() const;
//@{
/**
Gets the current brush (see wxSVGFileDC::SetBrush).
*/
- wxBrush GetBrush();
- const wxBrush GetBrush();
+ wxBrush GetBrush() const;
+ const wxBrush GetBrush() const;
//@}
/**
/**
Gets the current font (see wxSVGFileDC::SetFont).
*/
- wxFont GetFont();
- const wxFont GetFont();
+ wxFont GetFont() const;
+ const wxFont GetFont() const;
//@}
/**
/**
Gets the current pen (see wxSVGFileDC::SetPen).
*/
- wxPen GetPen();
- const wxPen GetPen();
+ wxPen GetPen() const;
+ const wxPen GetPen() const;
//@}
/**
/**
Gets the current text background colour (see wxSVGFileDC::SetTextBackground).
*/
- wxColour GetTextBackground();
- const wxColour GetTextBackground();
+ wxColour GetTextBackground() const;
+ const wxColour GetTextBackground() const;
//@}
/**
/**
Gets the current text foreground colour (see wxSVGFileDC::SetTextForeground).
*/
- wxColour GetTextForeground();
- const wxColour GetTextForeground();
+ wxColour GetTextForeground() const;
+ const wxColour GetTextForeground() const;
//@}
/**
/**
Resets the bounding box: after a call to this function, the bounding box
doesn't contain anything.
-
+
@see wxDC::CalcBoundingBox
*/
void ResetBoundingBox();
Sets the x and y axis orientation (i.e., the direction from lowest to
highest values on the axis). The default orientation is the natural
orientation, e.g. x axis from left to right and y axis from bottom up.
-
+
@param xLeftRight
True to set the x axis orientation to the natural
left to right orientation, @false to invert it.
uses the current mapping mode, but mapping mode is currently ignored for
PostScript output.
The mapping mode can be one of the following:
-
+
wxMM_TWIPS
-
+
Each logical unit is 1/20 of a point, or 1/1440 of
an inch.
-
+
wxMM_POINTS
-
+
Each logical unit is a point, or 1/72 of an inch.
-
+
wxMM_METRIC
-
+
Each logical unit is 1 mm.
-
+
wxMM_LOMETRIC
-
+
Each logical unit is 1/10 of a mm.
-
+
wxMM_TEXT
-
+
Each logical unit is 1 pixel.
*/
void SetMapMode(int int);
*/
bool StartDoc(const wxString& message);
};
+