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:
Robin Dunn
2004-08-31 14:54:13 +00:00
parent 312ebad4cd
commit 79609e6f24
4 changed files with 932 additions and 5 deletions

View File

@@ -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)