[FIX] [ENH] NewCurves-wiz ( continued discussion )

cdshaffer at acm.org cdshaffer at acm.org
Mon Jul 26 18:52:46 CEST 2004


Peace Jerome wrote:

>
>There is a preference to disable the newcurve feature
>and get the old behavior using the newCurve methods. 
>I put that in because I believe as you do some might
>not want their old stuff to change.
>
Ah, I didn't see the preference.  I'd like to hear some other opinions
on that mechanism.  Since preferences can be project specific then that
might be enough to support the old shapes.

>
>I'm still learning the ins and outs of  Preferences
>and have not figured out how to put the preference
>where it would be prominent.
>
That was my fault, you clearly documented it and I easily found it in
the morphic preferences menu...there's not anything more you should have
to do :-)

>
>New curve wants to replace the old curve stuff because
>it will handle the smoothing in a much more
>maintainable and expandable way.  Other interesting
>shapes are possible.  I wrote a scaledslope Subclass
>that just adds a scale factor  and was able by
>changing one parameter to get my diamond shape to look
>everything from segmented to even a pretty good
>looking roundish rectange.
>
Maintainability and extensibility are certainly good points.

>
>If it helps harvesters to introduce it slowly I'm fine
>with that. And your names as good as mine I have no
>problems with it either.
>
I hope we'll hear from them about it since it's a good piece of work. 
If the community opinion is that having the Preference is enough then
I'm OK with that.  Let's see what we hear from the harvesters.  In the
mean time have you experiemented with simply splicing your new class in
as PolygonMorph?  Does it cause a lot of problems with subclasses?

Best wishes,

David


More information about the Squeak-harvest mailing list