Have an account?
Home » Developer Area » DigiGuide Script » Image » getSize Method
//// adjust the size so it doesn't spill out, and also keep aspect ratio of the imagevar rcLocal = new Rect( rc );var divisor = image.getSize().cx / rcLocal.height();rcLocal.setWidth( image.getSize().cy / divisor );image.draw( 0, dc, rcLocal );
See Also Size Requirements build 1065
Copyright © digiguide.tv | Terms of Use | Privacy Policy, Cookies and GDPR