[Cuis-dev] VectorGraphics and Morph
Hilaire Fernandes
hilaire at drgeo.eu
Mon Jul 20 11:08:55 PDT 2020
Hi Juan,
That's cool. I will try to take a look in the coming days but I am busy
with the TheCuisBook right now. I am away for several weeks, and my
notebook is 9 years (i3, 2Ghz), I am not sure it falls under the
category of slow computer.
Slow computer are useful to optimize code, so we will see.
Best
Hilaire
Le 17/07/2020 à 19:57, Juan Vuletich a écrit :
> Several days ago I told I'd be working on a replacement for that
> VectorGraphicsPasteUpMorph hack I'd done.
>
> I have some experimental stuff working. The strategy is to use a
> subclass of BitBltCanvas called HybridCanvas, that holds a
> VectorCanvas in an instance variable. This means that vector graphics
> morphs can be added to the world just like regular morphs. I had to do
> many changes to the way that damage regions are handled, etc. It is
> kind of working, but not without some hiccups, and maybe I'd change
> things again. So, this is not yet ready for integration.
>
> The code is attached. To test this you'll need a bit of patience. It
> includes 25 files! Also, it works reasonably well (without a
> VectorGraphics plugin!) in a rather fast machine. A slow machine might
> make it unusable.
--
GNU Dr. Geo
http://drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200720/066f6a24/attachment-0001.htm>
More information about the Cuis-dev
mailing list