News for hackers. Stuff that matters.
Re:Apple Reports Third Quarter Results by ladyanita22 on Friday July 29, 2022 @06:06AM (#32275071)
Sorry to bother you, but I read this comment (https://news.ycombinator.com/item?id=31101384) and I was wondering myself: how did XP managed to have the transparent rounded corners? AFAIK, it doesn't use any compositing, yet the system is able to tell what should be "behind" the window to whatever that was in the transparent regions of the corners. The same thing applies (I guess) to the shadows of the right-click menus.
Re:Apple Reports Third Quarter Results by Jasper_ on Friday July 29, 2022 @10:15AM (#32277200)
The transparency is a 1-pixel mask bitmap. There's no partial blending required. Shadows of right click menus are different -- Windows actually had a secret, weird compositor ever since Windows 2000 called "layered windows", but the app has to be rewritten to use them.
Re:Apple Reports Third Quarter Results by ladyanita22 on Sunday July 31, 2022 @05:03AM (#32294339)
Thank you for your great explanation, it's super interesting. I read Raspbian has a patched openbox that has aliased rounded corners.

I believ it uses this patch https://github.com/dylanaraps/openbox-patched