By popular demand, I have refactored the magnifying glass trick previously featured in Google Maps and OpenStreetMap demos into its own, simpler example. This time we just zoom in an image so it’s pretty straightforward and easier to digest. The proof is the following screenshot.
Of course, it also runs on Qt for Symbian.
The code is available from the Graphics Dojo repository, find it in the imgzoom subdirectory. It weighs at less than 250 lines of code.
On a related note, if you compile Qt 4.6 branch for Symbian, you will find out that some of my demos previously shown in this Qt Labs, among others ray casting (now should also work on touch devices), maps, flight tracking, weather info, kinetic scrolling, flipping clock, have "graduated" to become real examples, even can be accessed from the infamous Fluid Launcher. What does it mean? If hitherto you haven’t tried them yet because you don’t bother to mess up your system with all the build procedures, just grab the (daily) Qt 4.6 for Symbian binary package and now you can enjoy the examples. No more excuse
4 Responses to “Magnifying glass”
hello Ariya, what about the demo that turned a screenshot into a nice reflected, rotated, and 3d-transformed one? i heard during your presentation that it was in the repo, but it isn’t. any plan on releasing the code for that effect?
thanks
@victor: You certainly mean “Screenie”. Maestro Ariya made an independent project out of it: http://code.google.com/p/screenie/
If you are using Linux, you may also find that tool packaged in your distro.
@victor: I can’t help but make a shameless plug for my fork of Screenie called “Showcase”. It’s slightly more flexible (variable # of images), adds shadows, and changes up the UI in general. Hopefully Showcase or Screenie is what you’re looking for.
http://albumshaper.sourceforge.net/screenshots_Showcase_1.0.shtml
thanks a lot guys, exactly what i was talking about.
