]> git.saurik.com Git - wxWidgets.git/commitdiff
Some docstring changes, default value for clockwise arg in AddArc
authorRobin Dunn <robin@alldunn.com>
Mon, 18 Dec 2006 23:13:12 +0000 (23:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 18 Dec 2006 23:13:12 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_graphics.i

index 02b406185cae7cba54484e3c0c9214fffd2715f8..1478709fd38b032e231741a15d84cfe26ec80a49 100644 (file)
@@ -466,7 +466,8 @@ identity matrix.)", "");
 
     DocDeclStr(
         virtual bool , IsEqual( const wxGraphicsMatrix& t) const,
 
     DocDeclStr(
         virtual bool , IsEqual( const wxGraphicsMatrix& t) const,
-        "Returns ``True`` if the elements of the transformation matrix are equal", "");
+        "Returns ``True`` if the elements of the transformation matrix are
+equal", "");
 
 
     DocDeclStr(
 
 
     DocDeclStr(
@@ -564,8 +565,8 @@ points and an end point", "");
         "Adds an arc of a circle centering at (x,y) with radius (r) from
 startAngle to endAngle", "");
     virtual void AddArc( wxDouble x, wxDouble y, wxDouble r,
         "Adds an arc of a circle centering at (x,y) with radius (r) from
 startAngle to endAngle", "");
     virtual void AddArc( wxDouble x, wxDouble y, wxDouble r,
-                         wxDouble startAngle, wxDouble endAngle, bool clockwise );
-    void AddArc( const wxPoint2D& c, wxDouble r, wxDouble startAngle, wxDouble endAngle, bool clockwise);
+                         wxDouble startAngle, wxDouble endAngle, bool clockwise=true );
+    void AddArc( const wxPoint2D& c, wxDouble r, wxDouble startAngle, wxDouble endAngle, bool clockwise=true);
 
 
     DocDeclStr(
 
 
     DocDeclStr(
@@ -586,8 +587,8 @@ point and an end point", "");
 
     DocDeclStr(
         virtual void , AddArcToPoint( wxDouble x1, wxDouble y1 , wxDouble x2, wxDouble y2, wxDouble r ) ,
 
     DocDeclStr(
         virtual void , AddArcToPoint( wxDouble x1, wxDouble y1 , wxDouble x2, wxDouble y2, wxDouble r ) ,
-        "Appends an arc to two tangents connecting (current) to (x1,y1) and (x1,y1)
-to (x2,y2), also a straight line from (current) to (x1,y1)", "");
+        "Appends an arc to two tangents connecting (current) to (x1,y1) and
+(x1,y1) to (x2,y2), also a straight line from (current) to (x1,y1)", "");
 
 
     DocDeclStr(
 
 
     DocDeclStr(
@@ -621,7 +622,8 @@ returned by GetNativePath is newly allocated each time).", "");
 
     DocDeclStr(
         wxRect2D , GetBox() const,
 
     DocDeclStr(
         wxRect2D , GetBox() const,
-        "Gets the bounding box enclosing all points (possibly including control points)", "");
+        "Gets the bounding box enclosing all points (possibly including control
+points)", "");
 
 
     %nokwargs Contains;
 
 
     %nokwargs Contains;
@@ -675,9 +677,9 @@ public:
     %newobject CreateFromNative;
     DocDeclStr(
         static wxGraphicsContext* , CreateFromNative( void * context ) ,
     %newobject CreateFromNative;
     DocDeclStr(
         static wxGraphicsContext* , CreateFromNative( void * context ) ,
-        "Creates a wx.GraphicsContext from a native context. This native context
-must be eg a CGContextRef for Core Graphics, a Graphics pointer for
-GDIPlus or a cairo_t pointer for Cairo.", "");
+        "Creates a wx.GraphicsContext from a native context. This native
+context must be eg a CGContextRef for Core Graphics, a Graphics
+pointer for GDIPlus or a cairo_t pointer for Cairo.", "");
     
 
     %newobject CreateFromNative;
     
 
     %newobject CreateFromNative;
@@ -714,8 +716,8 @@ with color c1 to (x2,y2) with color c2.", "");
         virtual wxGraphicsBrush ,
         CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius,
                                    const wxColour &oColor, const wxColour &cColor),
         virtual wxGraphicsBrush ,
         CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius,
                                    const wxColour &oColor, const wxColour &cColor),
-        "Creates a native brush, having a radial gradient originating at 
-point (xo,yc) with color oColour and ends on a circle around (xc,yc) with
+        "Creates a native brush, having a radial gradient originating at point
+(xo,yc) with color oColour and ends on a circle around (xc,yc) with
 radius r and color cColour.", "");
 
 
 radius r and color cColour.", "");
 
 
@@ -735,12 +737,13 @@ values. The defaults result in an identity matrix.", "");
 
     DocDeclStr(
         virtual void , PushState(),
 
     DocDeclStr(
         virtual void , PushState(),
-        "push the current state of the context, ie the transformation matrix on a stack", "");
+        "Push the current state of the context, (ie the transformation matrix)
+on a stack", "");
 
 
     DocDeclStr(
         virtual void , PopState(),
 
 
     DocDeclStr(
         virtual void , PopState(),
-        "pops a stored state from the stack", "");
+        "Pops a stored state from the stack", "");
 
 
     DocDeclStrName(
 
 
     DocDeclStrName(