powerdroid
2012-08-13 18:03:57 UTC
I wonder if it is possible (and if so, how it is done) to scale a 2D
Texture/Sprite during rendering. For example, I have a 128x128 image that
I will load and use for the texture, but I would like to draw that image
sometimes as 100%, sometimes as 85% of its size, and sometimes as 70% of
its size to the screen (all in the same frame). Is there a way to do such
a thing or would each image need to be resized in a graphic editor and
loaded separately?
PD
Texture/Sprite during rendering. For example, I have a 128x128 image that
I will load and use for the texture, but I would like to draw that image
sometimes as 100%, sometimes as 85% of its size, and sometimes as 70% of
its size to the screen (all in the same frame). Is there a way to do such
a thing or would each image need to be resized in a graphic editor and
loaded separately?
PD
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-***@googlegroups.com
To unsubscribe from this group, send email to
android-developers+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en