[Cuis-dev] Transparent Form ?
Juan Vuletich
juan at jvuletich.org
Tue Jun 2 04:40:05 PDT 2020
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. Geo
>> http://drgeo.eu
>
> 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
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200602/7fb41563/attachment.htm>
More information about the Cuis-dev
mailing list