Hi, When we set canvas.clipRect(Rect) , is it must to call canvas.restore() and canvas.save() method inorder to see the effect of clipRect()?
I am developing a game where i clip the portion of image from a big image file. When i use canvas.clipRect(Rect) and draw the bitMap, it doesnt display on the emulator screen. whereas if i call canvas.save() and Canvas.restore() after canvas.clipRect(Rect), the image is displayed on the emulator screen. I do not understand the fundamental behind this and it is not described in the document too. -- Thanks and Regards Chinnadurai M -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

