[squeak-dev] Re: How to draw nice and fast window shadows?
Marcel Taeumel
marcel.taeumel at student.hpi.uni-potsdam.de
Sat Apr 4 12:29:23 UTC 2015
I did a quick spike to give a better idea of what I am talking about.
1) Here is the code:
better-shadow.cs <http://forum.world.st/file/n4817499/better-shadow.cs>
2) Here are some pictures:
new-shadows-1.png <http://forum.world.st/file/n4817499/new-shadows-1.png>
new-shadows-2.png <http://forum.world.st/file/n4817499/new-shadows-2.png>
I decided to always have rounded shadows -- even for rectangular
windows/menus.
Do we want to have this with a preference in trunk?
Best,
Marcel
P.S.: Yes, resizing large (> 1000 pixels) windows gets slow on my Core i7.
:-D
--
View this message in context: http://forum.world.st/How-to-draw-nice-and-fast-window-shadows-tp4817491p4817499.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|