"""
IsEqual(self, GraphicsMatrix t) -> bool
- Returns ``True`` if the elements of the transformation matrix are equal
+ Returns ``True`` if the elements of the transformation matrix are
+ equal
"""
return _gdi_.GraphicsMatrix_IsEqual(*args, **kwargs)
def AddArc(*args):
"""
AddArc(self, Double x, Double y, Double r, Double startAngle, Double endAngle,
- bool clockwise)
+ bool clockwise=True)
AddArc(self, Point2D c, Double r, Double startAngle, Double endAngle,
- bool clockwise)
+ bool clockwise=True)
Adds an arc of a circle centering at (x,y) with radius (r) from
startAngle to endAngle
"""
AddArcToPoint(self, Double x1, Double y1, Double x2, Double y2, Double 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)
"""
return _gdi_.GraphicsPath_AddArcToPoint(*args, **kwargs)
"""
GetBox(self) -> Rect2D
- Gets the bounding box enclosing all points (possibly including control points)
+ Gets the bounding box enclosing all points (possibly including control
+ points)
"""
return _gdi_.GraphicsPath_GetBox(*args, **kwargs)
"""
CreateFromNative(void context) -> GraphicsContext
- 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.
"""
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
CreateRadialGradientBrush(self, Double xo, Double yo, Double xc, Double yc, Double radius,
Colour oColor, Colour cColor) -> GraphicsBrush
- 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.
"""
return _gdi_.GraphicsContext_CreateRadialGradientBrush(*args, **kwargs)
"""
PushState(self)
- 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
"""
return _gdi_.GraphicsContext_PushState(*args, **kwargs)
"""
PopState(self)
- pops a stored state from the stack
+ Pops a stored state from the stack
"""
return _gdi_.GraphicsContext_PopState(*args, **kwargs)
"""
GraphicsContext_CreateFromNative(void context) -> GraphicsContext
- 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.
"""
return _gdi_.GraphicsContext_CreateFromNative(*args, **kwargs)
def FindObjects(*args, **kwargs):
"""
- FindObjects(self, int x, int y, int radius=1, wxColor bg=*wxWHITE) -> PyObject
+ FindObjects(self, int x, int y, int radius=1, Colour bg=*wxWHITE) -> PyObject
Returns a list of all the id's that draw a pixel with color
not equal to bg within radius of (x,y).