question: performs basic image rotation about the center . notes : rotation is about the center of the image . for very small rotations , just return a clone . rotation brings either white or black pixels in from outside the image . above 20 degrees , if rotation by shear is requested , we rotate by sampling . colormaps are removed for rotation by area map and shear . the dest can be expanded so that no image pixels are lost . to invoke expansion , input the original width and height . for repeated rotation , use of the original width and height allows the expansion to stop at the maximum required size , which is a square with side = sqrt ww + hh . concode_field_sep boolean ROTATE_QUALITY concode_field_sep int nativeRotateOrth concode_elem_sep long nativeRotate concode_elem_sep Pix rotateOrth
target: Pix function ( Pix arg0 , float arg1 , boolean arg2 , boolean arg3 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; long loc0 = nativeRotate ( arg0 . getNativePix ( ) , arg1 , arg2 , arg3 ) ; if ( loc0 == 0 ) return null ; return new Pix ( loc0 ) ; }