[Cuis-dev] VectorGraphics and Morph
Hilaire Fernandes
hilaire at drgeo.eu
Tue Jul 28 05:12:08 PDT 2020
Hi Juan,
I tried directly the image! It worked as you described.
I opened an inspector on EllipseMorph3, then execute self
setBalloonText: 'Ellipse!', the balloon text only appears when the
cursor is inside the ellipse! Nice
I noted World display refresh issue though.
Hilaire
Le 27/07/2020 à 23:55, Juan Vuletich a écrit :
> Try the "new" rotate / zoom handle (yes, I know. They should be 2
> separate handles!). Browse the code. Check how simple a VG morph can
> be! Check that you can grab the ellipse from any inner pixel, and no
> outside pixel, even if the EllipseMorph3 class doesn't implement
> #morphContainsPoint: or any other similar method. It also doesn't
> include any method to tell the area it occupies on the Display, and
> still updates and redraws work correctly. See what happens if you
> change the code to make it bigger, for example, and the in an ispector
> do 'self redrawNeeded', or just World / restore display. Check
> EllipseMorph2 that includes stepping. In the class comment of one of
> those there are several lines of code, that if evaluated together in a
> Workspace, will stitch a few ellipses together and makes them step.
> Try it!
>
> As usual, all this is experimental. It could break in unexpected ways,
> etc.
>
> Feedback is most welcome.
--
GNU Dr. Geo
http://drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200728/7dad2641/attachment.htm>
More information about the Cuis-dev
mailing list