RotateBrush(id, angle[, factorx, factory, smooth])
idby the specified angle (in degrees). A positive angle rotates anti-clockwise, a negative angle rotates clockwise.
Starting with Hollywood 2.5, this function can also scale the brush
while rotating it (called a rot-zoom). This is done in one pass so
the quality of the resulting image data is much better than if you
would first call ScaleBrush() and then
RotateBrush(). If you want to
have the brush scaled with the rotation, simply pass two scaling factors
as factorx and factory. These two factors are floating point numbers
representing a zoom percentage (1 corresponds to 100%, 0.5 to 50%, 1.5
to 150% etc.)
Additionally, you can choose to have the scaled and/or rotated graphics
interpolated by passing
True in the smooth argument. The graphics will
then be scaled/rotated using anti-alias.