Beginning of the rotatePicture method (cont'd)

The rotatePicture method (see Listing 6)

  1. rotates a butterfly image by that angle around its center,
  2. translates the rotated image, and
  3. draws the rotated image in the center of a display picture.
File: be.htm [Next] [Prev]