Canvas draw section of sprite sheet scaled

Problems with Canvas, OpenGL, etc...

Canvas draw section of sprite sheet scaled

Postby multiplydivide » Thu Sep 29, 2011 2:09 am

I would like to draw a sprite to the screen scaled to a particular size
I can scale and draw an image using canvas.drawBitmap(bitmap, matrix);
or I can draw a selection of the sprite sheet using the draw bitmap src and dst rect.
but is there a way I could draw a particular part of my sprite sheet scaled?
Posts: 34
Joined: Wed Apr 28, 2010 2:09 am


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 1 guest