<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<blockquote type="cite">I haven't implemented any yet, but I was
thinking, for example, on a morph that is a function, in a
FunctionGraphMorph. The graph sets the space (the coordinate
system) for the functions it shows. Each function can't and
shouldn't be moved. If you move the sin(x) function 1 upwards,
it becomes sin(x)+1, and that's a different function. So it is
for morphs that can't be moved at all.
</blockquote>
<br>
</div>
<div class="moz-cite-prefix">In DrGeo, geometric item views are
direct subclasses of Morph, because you are not expected to drag
these morphs around. The view is only positioned according to its
math model. So this is an additional show case for a Morph without
location attribute.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 26/12/2021 à 20:30, Juan Vuletich a
écrit :<br>
</div>
<blockquote type="cite" cite="mid:61C8C2F3.4030001@jvuletich.org">This
is my current suggestion, that tries to follow consensus:<br>
<br>
Morph<br>
LocatedMorph (location) [today’s MovableMorph]<br>
RectMorph (extent, color) [to replace KernelMorph and part
of WidgetMorph]<br>
BorderedRectMorph (borderWidth, borderColor) [rest of
today’s WidgetMorph]<br>
PasteUpMorph [no change]<br>
WorlddMorph [no change]<br>
PluggableMorph [no change]<br>
</blockquote>
<div class="moz-cite-prefix">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. <br>
</div>
<div class="moz-cite-prefix">In the other hand, most subclasses of
RectMorph are expected to be rectangular shape and Juan want it to
be clear.</div>
<div class="moz-cite-prefix">An EllipseMorph will be a subclass of
RectMorph/BorderRectMorph, this look odd, but understandable
though.</div>
<div class="moz-cite-prefix">So likely <b>RectMorph</b> and <b>BorderedRectMorph</b>
are very good compromise.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Regarding LocatedMorph and
MoveableMorph, I found the latter inelegant and the former not
really better. A more simple <b>MobileMorph</b> is so easier to
pronounce, meaningful and elegant.<br>
</div>
<p>For the better to all of you.<br>
</p>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>