chickadee » leptonica » rotate

rotate pix angle rotation-type in-colour width heightprocedure

Returns a pointer to a new pix created by rotating given pix.

  • angle: in radians, with positive value indicating clockwise.
  • rotation-type: from list of constants below.
  • in-colour: from list of constants below, determines if white or black pixels complete missing spaces.
  • width: of final image
  • height: of final image