Some docstring changes, default value for clockwise arg in AddArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -466,7 +466,8 @@ identity matrix.)", "");
|
|||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
virtual bool , IsEqual( const wxGraphicsMatrix& t) const,
|
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
|
"Adds an arc of a circle centering at (x,y) with radius (r) from
|
||||||
startAngle to endAngle", "");
|
startAngle to endAngle", "");
|
||||||
virtual void AddArc( wxDouble x, wxDouble y, wxDouble r,
|
virtual void AddArc( wxDouble x, wxDouble y, 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);
|
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(
|
DocDeclStr(
|
||||||
virtual void , AddArcToPoint( wxDouble x1, wxDouble y1 , wxDouble x2, wxDouble y2, wxDouble r ) ,
|
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)
|
"Appends an arc to two tangents connecting (current) to (x1,y1) and
|
||||||
to (x2,y2), also a straight line from (current) to (x1,y1)", "");
|
(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(
|
DocDeclStr(
|
||||||
wxRect2D , GetBox() const,
|
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;
|
%newobject CreateFromNative;
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
static wxGraphicsContext* , CreateFromNative( void * context ) ,
|
static wxGraphicsContext* , CreateFromNative( void * context ) ,
|
||||||
"Creates a wx.GraphicsContext from a native context. This native context
|
"Creates a wx.GraphicsContext from a native context. This native
|
||||||
must be eg a CGContextRef for Core Graphics, a Graphics pointer for
|
context must be eg a CGContextRef for Core Graphics, a Graphics
|
||||||
GDIPlus or a cairo_t pointer for Cairo.", "");
|
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 ,
|
virtual wxGraphicsBrush ,
|
||||||
CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius,
|
CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius,
|
||||||
const wxColour &oColor, const wxColour &cColor),
|
const wxColour &oColor, const wxColour &cColor),
|
||||||
"Creates a native brush, having a radial gradient originating at
|
"Creates a native brush, having a radial gradient originating at point
|
||||||
point (xo,yc) with color oColour and ends on a circle around (xc,yc) with
|
(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(
|
DocDeclStr(
|
||||||
virtual void , PushState(),
|
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(
|
DocDeclStr(
|
||||||
virtual void , PopState(),
|
virtual void , PopState(),
|
||||||
"pops a stored state from the stack", "");
|
"Pops a stored state from the stack", "");
|
||||||
|
|
||||||
|
|
||||||
DocDeclStrName(
|
DocDeclStrName(
|
||||||
|
Reference in New Issue
Block a user