On Thu, Apr 7, 2016 at 12:16 PM, Nicolai Hess <[email protected]> wrote:
> Do we need an AthensCanvas>>#isVisible: ?
Yes. There is no need to draw morphs that are outside of current clip area.
That is why we have:
fullDrawOnSpartaCanvas: aCanvas
> (self isVisibleOnCanvas: aCanvas)
> ifFalse: [ ^ self ].
. . .
Even if it would not speed up extent calculations, I would prefer too, to
> have EllipsePath, PolygonPath, ..., It is much more convenient to work with
> explicit classes than to define everything with a Path, even
> if everything is just a Path :-)
I too :) It also helps during debugging and inspection, having that we can
mold tools with custom presentations for Path.
Cheers,
Alex