[Cuis-dev] [Ann] Changes for VectorGraphics

Hernan Wilkinson hernan.wilkinson at gmail.com
Mon Aug 3 11:10:26 PDT 2020

The "highway to hell"-vector-graphics!!

On Mon, Aug 3, 2020 at 12:20 PM Juan Vuletich <juan at jvuletich.org> wrote:

> Hi Folks,
> I've just pushed to GitHub a bunch of changes. Most of them are to
> enable VectorGraphics based morphs. To install them, while installing,
> you need to supply author initials. When install finishes, you need to
> restart updates install once more.
> What these updates do is to enable morphs drawn using VectorGraphics to
> live alongside the regular BitBlt based ones, using a "dual mode"
> HybridCanvas. BitBltCanvas and BitBltEngine are now just a speed
> optimization. When VectorCanvas and VectorEngine are fast enough, they
> won't be needed anymore.
> To play with all this, do `Feature require: 'VectorGraphics'`. Set the
> DejaVu TrueType font.
> If you want to experiment (please do this in a throw away image, just in
> case) you can activate the new canvas by doing `MorphicCanvas
> activeSubclass: HybridCanvas`
> Now you can add an EllipseMorph2 or EllipseMorph3 to your world. Or
> evaluate in a Workspace the class comment at EllipseMorph3. Play with
> the new rotate / zoom halo hande at the left bottom.
> You can even try the new halo on a workspace or browser. VectorGraphics
> is still pure Smalltalk code (no plugin or any kind of c / openCL / asm
> code), so it will be slow! But as regular windows are still drawn using
> BitBlt (unless rotated / zoomed), regular Smalltalk tools are as
> responsive as usual.
> Hilaire, I believe this is ready for DrGeo to use.
> All feedback is welcome.
> Cheers,
> --
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich


*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200803/6725829a/attachment.htm>

More information about the Cuis-dev mailing list