Matrix: limiting translate and scale in android -


i drawing image in android using canvas. i'm using surfaceview's ontouch method let user scale , move image.

i can limit scaling have problem limiting translate. can limit translate if scale of matrix in original form, if scale changed i'm having problem limiting translation.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -