Ariya Hidayat
Graphics Dojo
S60
Posted by Ariya Hidayat
 in Graphics Dojo, S60
 on Wednesday, October 07, 2009 @ 21:32

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”

» Posted by victor
 on Thursday, October 08, 2009 @ 01:53

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

» Posted by Alessandro
 on Thursday, October 08, 2009 @ 02:20

@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.

» Posted by Will Stokes
 on Thursday, October 08, 2009 @ 12:50

@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

» Posted by victor
 on Friday, October 09, 2009 @ 17:33

thanks a lot guys, exactly what i was talking about.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.