[Pharo-dev] Athens Re: TxText model

Aliaksei Syrel alex.syrel at gmail.com
Thu Apr 7 06:22:51 EDT 2016

On Thu, Apr 7, 2016 at 12:16 PM, Nicolai Hess <nicolaihess at gmail.com> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20160407/010dfe17/attachment.html>

More information about the Pharo-dev mailing list