Beginning of the rotatePicture method (cont'd)
The
rotatePicture
method
(see
Listing 6
)
rotates a butterfly image by that angle around its center,
translates the rotated image, and
draws the rotated image in the center of a display picture.
File: be.htm
[Next]
[Prev]