[Cuis-dev] Transparent Form ?

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Jun 2 05:18:58 PDT 2020


Hi Juan,
Do not hesitate to open a bug report on opensmalltalk. There's nothing that
cannot be fixed. It would be a good thing to share your findings anyway,
otherwise how would the vm progress and improve?

Le mar. 2 juin 2020 à 13:40, Juan Vuletich via Cuis-dev <
cuis-dev at lists.cuis.st> a écrit :

> BTW, your animation is gorgeous.
>
> On 6/2/2020 8:33 AM, Juan Vuletich via Cuis-dev wrote:
>
> This is very nice to know!
>
> Fix is at GitHub now.
>
> Thanks, Hilaire!
>
> On 6/2/2020 6:50 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi Juan,
>
> Work nicely! Thanks.
>
> Regarding speed, now I can tell you Cuis' Morph is super fast.
>
> See https://youtu.be/beIZnmhx2HU
>
> I have to record the video up to 60Hz to get a taste of the smoothness of
> the animation. And the youtube video does not show this.
>
> For a smooth rendering, see:
>
>
> https://www.dropbox.com/s/480jn4efcz0c7fl/AnimationCircularToolbarCuis-2020-06-02_10.54.39.mp4?dl=0
>
> The animation framework used to animate on a given duration comes from
> Pharo. Under Pharo it is not smooth at all.
>
> With Cuis, one can make very nice and smooth UI.
>
> Hilaire
> Le 01/06/2020 à 14:28, Juan Vuletich a écrit :
>
> As you saw, this problem is not related to VectorGraphics. BitBlt with
> alpha blending to translucent targets is also broken. For each pixel, it
> should divide the r, g, b values of the result by the alpha. That is
> exactly what I just fixed in the VectorGraphics engine. Fixing this in the
> BitBlt plugin is harder and unlikely, because it would change the behavior
> of existing code, perhaps in unexpected ways. So, the attach. It fixes the
> result of #imageForm:, in Smalltalk. It will have a performance impact.
> Fortunately, #imageForm: is usually called only to cache stuff, so a bit of
> performance loss will not be a problem.
>
> Please try it.
>
> --
> GNU Dr. Geohttp://drgeo.eu
>
>
> Cheers,
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
>
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200602/c1947e56/attachment.htm>


More information about the Cuis-dev mailing list