]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/dcsvg.h
wxThread::Sleep() is the same as wxMilliSleep() on all platforms but Mac (and maybe...
[wxWidgets.git] / interface / dcsvg.h
index 69a506710b5f7ce22793ce8b6fc3978eacf784c5..ec95381002fd8945bb94d3f6261ee9f9b693b8fb 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        dcsvg.h
 /////////////////////////////////////////////////////////////////////////////
 // Name:        dcsvg.h
-// Purpose:     documentation for wxSVGFileDC class
+// Purpose:     interface of wxSVGFileDC
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -36,8 +36,7 @@
     @library{wxcore}
     @category{FIXME}
 
     @library{wxcore}
     @category{FIXME}
 
-    @seealso
-    @b Members
+    @see @b Members
 */
 class wxSVGFileDC : public wxDC
 {
 */
 class wxSVGFileDC : public wxDC
 {
@@ -163,7 +162,7 @@ public:
     //@{
     /**
         Draws a circle with the given centre and radius.
     //@{
     /**
         Draws a circle with the given centre and radius.
-        
+
         @see wxDC::DrawEllipse
     */
     void DrawCircle(wxCoord x, wxCoord y, wxCoord radius);
         @see wxDC::DrawEllipse
     */
     void DrawCircle(wxCoord x, wxCoord y, wxCoord radius);
@@ -175,7 +174,7 @@ public:
         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.
         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,
         @see wxDC::DrawCircle
     */
     void DrawEllipse(wxCoord x, wxCoord y, wxCoord width,
@@ -334,23 +333,23 @@ public:
         Gets the brush used for painting the background (see
         wxSVGFileDC::SetBackground).
     */
         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.
     //@}
 
     /**
         Returns the current background mode: @c wxSOLID or @c wxTRANSPARENT.
-        
+
         @see wxDC::SetBackgroundMode
     */
         @see wxDC::SetBackgroundMode
     */
-    int GetBackgroundMode();
+    int GetBackgroundMode() const;
 
     //@{
     /**
         Gets the current brush (see wxSVGFileDC::SetBrush).
     */
 
     //@{
     /**
         Gets the current brush (see wxSVGFileDC::SetBrush).
     */
-    wxBrush GetBrush();
-    const wxBrush GetBrush();
+    wxBrush GetBrush() const;
+    const wxBrush GetBrush() const;
     //@}
 
     /**
     //@}
 
     /**
@@ -373,8 +372,8 @@ public:
     /**
         Gets the current font (see wxSVGFileDC::SetFont).
     */
     /**
         Gets the current font (see wxSVGFileDC::SetFont).
     */
-    wxFont GetFont();
-    const wxFont GetFont();
+    wxFont GetFont() const;
+    const wxFont GetFont() const;
     //@}
 
     /**
     //@}
 
     /**
@@ -391,8 +390,8 @@ public:
     /**
         Gets the current pen (see wxSVGFileDC::SetPen).
     */
     /**
         Gets the current pen (see wxSVGFileDC::SetPen).
     */
-    wxPen GetPen();
-    const wxPen GetPen();
+    wxPen GetPen() const;
+    const wxPen GetPen() const;
     //@}
 
     /**
     //@}
 
     /**
@@ -410,8 +409,8 @@ public:
     /**
         Gets the current text background colour (see wxSVGFileDC::SetTextBackground).
     */
     /**
         Gets the current text background colour (see wxSVGFileDC::SetTextBackground).
     */
-    wxColour GetTextBackground();
-    const wxColour GetTextBackground();
+    wxColour GetTextBackground() const;
+    const wxColour GetTextBackground() const;
     //@}
 
     /**
     //@}
 
     /**
@@ -437,8 +436,8 @@ public:
     /**
         Gets the current text foreground colour (see wxSVGFileDC::SetTextForeground).
     */
     /**
         Gets the current text foreground colour (see wxSVGFileDC::SetTextForeground).
     */
-    wxColour GetTextForeground();
-    const wxColour GetTextForeground();
+    wxColour GetTextForeground() const;
+    const wxColour GetTextForeground() const;
     //@}
 
     /**
     //@}
 
     /**
@@ -501,7 +500,7 @@ public:
     /**
         Resets the bounding box: after a call to this function, the bounding box
         doesn't contain anything.
     /**
         Resets the bounding box: after a call to this function, the bounding box
         doesn't contain anything.
-        
+
         @see wxDC::CalcBoundingBox
     */
     void ResetBoundingBox();
         @see wxDC::CalcBoundingBox
     */
     void ResetBoundingBox();
@@ -510,7 +509,7 @@ public:
         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.
         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.
         @param xLeftRight
             True to set the x axis orientation to the natural
             left to right orientation, @false to invert it.
@@ -587,26 +586,26 @@ public:
         uses the current mapping mode, but mapping mode is currently ignored for
         PostScript output.
         The mapping mode can be one of the following:
         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
         wxMM_TWIPS
-        
+
         Each logical unit is 1/20 of a point, or 1/1440 of
           an inch.
         Each logical unit is 1/20 of a point, or 1/1440 of
           an inch.
-        
+
         wxMM_POINTS
         wxMM_POINTS
-        
+
         Each logical unit is a point, or 1/72 of an inch.
         Each logical unit is a point, or 1/72 of an inch.
-        
+
         wxMM_METRIC
         wxMM_METRIC
-        
+
         Each logical unit is 1 mm.
         Each logical unit is 1 mm.
-        
+
         wxMM_LOMETRIC
         wxMM_LOMETRIC
-        
+
         Each logical unit is 1/10 of a mm.
         Each logical unit is 1/10 of a mm.
-        
+
         wxMM_TEXT
         wxMM_TEXT
-        
+
         Each logical unit is 1 pixel.
     */
     void SetMapMode(int int);
         Each logical unit is 1 pixel.
     */
     void SetMapMode(int int);
@@ -648,3 +647,4 @@ public:
     */
     bool StartDoc(const wxString& message);
 };
     */
     bool StartDoc(const wxString& message);
 };
+