[Cuis-dev] Renaming several fundamental Morph classes

Luciano Notarfrancesco luchiano at gmail.com
Mon Dec 27 02:15:06 PST 2021


Sorry, my brain keeps storming. I was thinking AffineMorph for
LocatedMorph, because the location is actually a GemoetryTransformation.
But then I realized the transformation is not always an affine
transformation, so I’m not sure what to call it. I guess the location is
actually an embedding into the owner’s space, so maybe EmbeddedMorph (and
embedding instead of location) would be more correct, but perhaps too
technical, and not even sure it always makes sense. TransformedMorph and
transformation might be more suggestive for people familiar with other
graphics frameworks, but not sure..

On Mon, 27 Dec 2021 at 4:58 PM Luciano Notarfrancesco <luchiano at gmail.com>
wrote:

> Also PositionableMorph might be nice instead of LocatedMorph because we
> already have PositionableStream. And BoundedMorph might be another possible
> name for RectMorph. Just continuing the brainstorm, but I’m already happy
> with the names proposed by Juan and also the names proposed by Hilaire.
>
> On Mon, 27 Dec 2021 at 4:48 PM Luciano Notarfrancesco <luchiano at gmail.com>
> wrote:
>
>>
>>
>> On Mon, 27 Dec 2021 at 3:58 PM Hilaire Fernandes via Cuis-dev <
>> cuis-dev at lists.cuis.st> wrote:
>>
>>> User may understand Rectangle when she will read RectMorph, but it can
>>> be many shapes in a rectangle extent (ellipse, disc, star, right triangle,
>>> diamond). BoxMorph and BorderedBoxMorph will reduce this confusion.
>>>
>>
>> In that case I think BoxedMorph is a little better than BoxMorph because
>> it suggests that the morph is inside a (bounding) box, not that it is a box.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211227/f0271771/attachment-0001.htm>


More information about the Cuis-dev mailing list