[Cuis-dev] VectorGraphics and Morph

Hilaire Fernandes hilaire at drgeo.eu
Fri Jul 31 12:06:16 PDT 2020


Hi Juan,

I did a few changes to my PolygonMorph port experiment (attached), and
it works quite good with the hybrid canvas. The click on shape
(open/filled/closed) is nicely detected

Hilaire


Le 27/07/2020 à 23:55, Juan Vuletich a écrit :
>
> I've been working on a new implementation. It starts to work
> reasonably well.
>
> The HybridCanvas will choose automatically between BitBlt and
> VectorCanvas depending on the morpt to be drawn. The
> RectangleLikeMorph hierarchy will be drawn using BitBlt, unless
> rotated or scaled. Other Morph classes will use VectorCanvas. Play,
> for example, with EllipseMorph2 and EllipseMorph3.

-- 
GNU Dr. Geo
http://drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200731/7ed90bea/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PolygonMorph.st
Type: application/x-st-disk-image
Size: 11269 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200731/7ed90bea/attachment.bin>


More information about the Cuis-dev mailing list