boB Stepp wrote: > I have (Finally!) gotten a bit of time to look at Peter's answer to my > Model-View-Controller question from May 29th, particularly his > CircleImageView class to which he added a "#FIXME" comment.
I'm now really sorry that I wrote that comment. It should have been something like # I know that the following code is inefficient and produces # underwhelming results. As its only purpose is to illustrate # the view part of MVC I won't spend one more minute on it. Don't let that stop you if the problem of drawing graphics primitives interests you. You can reuse the coordinates of one point on the circle eight times, and for inner points no calculation should be necessary. I don't know how to best deal with an aspect ratio != 1; as the extra minute is more than over you have to google it yourself ;) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor