Definition: | a32Dib0 newdib = rotateDibFree(a32Dib dib, integer angle, object bgcolor, integer kill_old) |
Description: | Rotates the bitmap and returns the new bitmap. |
Comments: |
Returns 0 if the bitmap could not be rotated. angle is in degrees. angle will NOT be rounded (free angle rotation). If bgcolor is a color-sequence, that color is used to fill the region outside the rotated bitmap. If bgcolor is an atom (not a color-sequence), then the original bitmap will be wrapped/tiled. If kill_old!=0 then the previous bitmap will be killed. |