public void scaleAbsoluteWidth ( float newWidth ) { plainWidth = newWidth ; float [ ] matrix = matrix ( ) ; scaledWidth = matrix [ DX ] - matrix [ CX ] ; scaledHeight = matrix [ DY ] - matrix [ CY ] ; setWidthPercentage ( 0 ) ; }
Scale the image to an absolute width .