virtual void StrokeLines( size_t , const wxPoint2DDouble *, const wxPoint2DDouble *) {}
virtual void DrawLines( size_t , const wxPoint2DDouble *, int ) {}
virtual void DrawRectangle( wxDouble , wxDouble , wxDouble , wxDouble ) {}
- virtual void DrawRoundedRectangle( wxDouble , wxDouble , wxDouble , wxDouble , wxDouble ) {}
virtual void DrawEllipse( wxDouble , wxDouble , wxDouble , wxDouble ) {}
- virtual void DrawRoundedRectangle( wxDouble wxDouble , wxDouble , wxDouble , wxDouble ) {}
+ virtual void DrawRoundedRectangle( wxDouble , wxDouble , wxDouble , wxDouble , wxDouble ) {}
virtual bool ShouldOffset() const { return false; }
};
DocStr(wxGraphicsMatrix,
"A wx.GraphicsMatrix is a native representation of an affine
-matrix. The contents are specific an private to the respective
+matrix. The contents are specific and private to the respective
renderer. The only way to get a valid instance is via a CreateMatrix
call on the graphics context or the renderer instance.", "");
class wxGraphicsMatrix : public wxGraphicsObject
{
public :
- wxGraphicsMatrix();
+// wxGraphicsMatrix();
virtual ~wxGraphicsMatrix();
DocDeclStr(
virtual void , Concat( const wxGraphicsMatrix& t ),
"Concatenates the passed in matrix to the current matrix.", "");
-// %extend {
-// DocStr(Copy,
-// "Copy the passed in matrix to this one.", "");
-// void Copy( const wxGraphicsMatrix& t ) {
-// *self = t;
-// }
-// }
-
DocDeclStr(
virtual void , Set(wxDouble a=1.0, wxDouble b=0.0, wxDouble c=0.0, wxDouble d=1.0,
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(
class wxGraphicsPath : public wxGraphicsObject
{
public :
- wxGraphicsPath();
+// wxGraphicsPath();
virtual ~wxGraphicsPath();
"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(
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(
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;
%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;
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.", "");
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(),
- "pops a stored state from the stack", "");
+ "Pops a stored state from the stack", "");
DocDeclStrName(