reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-18 23:15:37 +00:00
parent 09d48154cc
commit 89d1e2eeab
12 changed files with 163 additions and 88 deletions

View File

@@ -5246,7 +5246,8 @@ class GraphicsMatrix(GraphicsObject):
"""
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)
@@ -5377,9 +5378,9 @@ class GraphicsPath(GraphicsObject):
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
@@ -5415,8 +5416,8 @@ class GraphicsPath(GraphicsObject):
"""
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)
@@ -5468,7 +5469,8 @@ class GraphicsPath(GraphicsObject):
"""
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)
@@ -5523,9 +5525,9 @@ class GraphicsContext(GraphicsObject):
"""
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)
@@ -5578,8 +5580,8 @@ class GraphicsContext(GraphicsObject):
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)
@@ -5606,7 +5608,8 @@ class GraphicsContext(GraphicsObject):
"""
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)
@@ -5614,7 +5617,7 @@ class GraphicsContext(GraphicsObject):
"""
PopState(self)
pops a stored state from the stack
Pops a stored state from the stack
"""
return _gdi_.GraphicsContext_PopState(*args, **kwargs)
@@ -5931,9 +5934,9 @@ def GraphicsContext_CreateFromNative(*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)