Adding DrawnShape (patch from Pierre Hjälm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2881,7 +2881,7 @@ class EllipseShape(Shape):
|
||||
y = top
|
||||
# We now have the point on the bounding box: but get the point
|
||||
# on the ellipse by imagining a vertical line from
|
||||
# (x, self._ypos - self_height - 500) to (x, self._ypos) intersecting
|
||||
# (x, self._ypos - self._height - 500) to (x, self._ypos) intersecting
|
||||
# the ellipse.
|
||||
|
||||
return DrawArcToEllipse(self._xpos, self._ypos, self._width, self._height, x, self._ypos - self._height - 500, x, self._ypos)
|
||||
|
Reference in New Issue
Block a user