Student
0
Q:

offset calculation for images

offsetFactor = (1.0 - scale) / 2;
dx = originalWidth * offsetFactor;
dy = originalHeight * offsetFactor;
0

New to Communities?

Join the community