Thank you Richard, I tried to find examples, without success. Do you know of any ?
On Sunday, 12 August 2012 10:49:10 UTC+2, RichardC wrote: > > Canvas does zooming, scaling, rotation, translation etc. via stackable > transformations see: > http://developer.android.com/reference/android/graphics/Canvas.html > and look for functions like: > > save > > restore > > scale > > translate > > setMatrix > > etc... > > > > > > > > > > > > > > > On Sunday, August 12, 2012 9:44:47 AM UTC+1, Simon Giddings wrote: >> >> Thank you to every one for their responses. >> >> It would seem, however, that my question was not clear enough (you are >> right James). >> >> I am going to write a music notation app. >> So, will "simply" be writing the music score on the display - no >> animation needed. >> My question was about visual scaling - reproducing a "sheet of music >> paper" and then permitting the user to zoom in and out. >> Hence the reference to world coordinate and screen coordinate conversions. >> >> Please note - this will *not* be using pdf documents ! >> >> Can I still achieve this with Canvas ? >> Is there an example of the correct way of producing this kind of scaling >> when using Canvas ? >> I will be targeting tablet systems with this. >> >> >> On Sunday, 12 August 2012 06:15:06 UTC+2, Dianne Hackborn wrote: >>> >>> On Sat, Aug 11, 2012 at 2:50 PM, James Black <planit...@gmail.com>wrote: >>> >>>> Do you need a fast refresh rate for example? One music program I wrote >>>> had to turn notes on and off at the correct millisecond, under windows; >>>> that accuracy won't work on mobile devices. >>>> >>> You can do 60fps drawing with either OpenGL or Canvas. That is the best >>> you are going to get for accuracy since that is the screen refresh rate. >>> >>> -- >>> Dianne Hackborn >>> Android framework engineer >>> hac...@android.com >>> >>> Note: please don't send private questions to me, as I don't have time to >>> provide private support, and so won't reply to such e-mails. All such >>> questions should be posted on public forums, where I and others can see and >>> answer them. >>> >>> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en