Guest User

Untitled

a guest
Oct 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. /**
  2. * Copies a portion of pixels from the image bitmap, and returns
  3. * that portion in a new image bitmap.
  4. * @param nRect The frame from which to cut the new image.
  5. * If this frame doesn't perfectly intersect with the images bounds,
  6. * the excess parts of the returned image will be fully transparent.
  7. * @return An autoreleased image bitmap that has been cropped. This image
  8. * will have the dimensions of @param nRect.
  9. */
  10. - (ANImageBitmapRep *)cropWithFrame:(CGRect)nRect;
Add Comment
Please, Sign In to add comment