[Cuis-dev] VectorGraphics and Morph

Juan Vuletich juan at jvuletich.org
Fri Jun 19 07:45:15 PDT 2020


On 6/19/2020 10:38 AM, Mariano Montone via Cuis-dev wrote:
> Hi,
>
> El 19/6/20 a las 07:41, Hilaire Fernandes via Cuis-dev escribió:
>> Hello,
>>
>> I will resume my understanding of the situation and I will make an
>> hopefully small request to Juan.
>>
>> VectorGraphics canvas long time objective is to move from bitmap canvas
>> to vector canvas. Then, the whole Cuis display content will be defined
>> with vector operations. When needed, to display the whole screen or to
>> refresh a damaged area, a rasterizing will occur. I think this part is
>> pretty tricky with vector canvas.
>>
> Just so you know, the Cairo package supports the rendering of the whole
> world. CairoCanvas implements a compatible api with BitMap canvas.
>
> Just do:
>
> Feature require: 'CairoMorphic'.
>
> CairoDisplayScreen install.
>
> Also, you can embed Cairo morphs in a Bitmap world, for example:
>
> CairoMorphExample new openInWorld
>
> I don't know if there's useful stuff there, I just wanted to mention it.
>
> Cheers!
>
> Mariano
>

This is very nice, and it should be integrated well enough to be a valid 
alternative to VectorGraphics. Just tried it. It works quite well out of 
the box on Ubuntu. Perhaps a link and some installation instructions for 
Cairo libraries would be in order for MacOS and Windows.

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



More information about the Cuis-dev mailing list