iDevTricks

SugarTin – iOS Dev Tricks

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • iPhone Development
    • 3rd Party
      • GitHub
        • HMGLTransition
    • Animations
    • App-Store
    • Customizations
    • Free
    • Other Framework
      • AddressBook
      • MapKit
        • MKMapView
    • Snips
    • UI Controls
      • UIMenuController
      • UINavigationController
      • UISearchBar
      • UITabBarController
        • UITabBar
      • UITableView
        • UITableViewCell
      • UIWebView
    • Web-Parsing
    • Xcode
  • Mac OS X
    • Open Source Apps for iOS
  • Popular
  • Game Development
  • Contact Us

Tag Archives: CGImageMaskCreate

Mask and crop an image

Posted on October 21, 2011 by Nimit Parekh

Masking an image enables a developer to create images with irregular shapes dynamically. Masking is often used to create a user interface that is more compelling and less boring. Take for example the following example …     Following code … Continue reading →

Posted in 3rd Party, Customizations, UI Controls | Tagged Apple, Basics, CGContextClipToRect, CGContextDrawImage, CGContextRef, CGContextScaleCTM, CGContextTranslateCTM, CGImage, CGImageCreateWithMask, CGImageGetBitsPerComponent, CGImageGetBitsPerPixel, CGImageGetBytesPerRow, CGImageGetDataProvider, CGImageGetHeight, CGImageGetWidth, CGImageMaskCreate, CGImageRef, CGRect, Custom, Customization, didFinishPickingMediaWithInfo, imageByCropping, imagePickerController, imagePickerControllerDidCancel, imageWithCGImage, iOS, iPad, iPhone, iPhone Development, maskImage, UIGraphicsBeginImageContext, UIGraphicsEndImageContext, UIGraphicsGetCurrentContext, UIGraphicsGetImageFromCurrentImageContext, UIImage, UIImageController, UIImagePickerController, UIImagePickerControllerDelegate, UIImagePickerControllerSourceTypeCamera, UINavigationControllerDelegate, withMask, XCode, XCode 4.0.2, XCode3, XCode4, XCode4.2 | Leave a reply

Translate

Archives

Categories

Popular Posts

  • Creating MultiLevel UITab... 10 views
  • Remove UICollectionView t... 7 views
  • Calling GET and POST asyn... 7 views
  • Generate random string in... 5 views
  • Zoom in and Zoom out Pinc... 4 views
  • Get IP Address or MAC Add... 4 views
  • Regular expression for Em... 3 views
  • Proper understanding of 1... 3 views
  • MKMapView – zoom Ou... 3 views
  • Filter NSArray using NSPr... 3 views

Tag Clour

01 Mac OS X addSubview Apple Basics Build code Custom Customization delegate Error framework Implementation iOS iPad iPhone iPhone Development iPod Leopard LION Mac MKMapView NSArray NSDictionary NSString Objective-c OSX Project release sample self super UIAlertView UIButton UILabel UITableView UITableViewCell UITableViewDataSource UITableViewDelegate UIView UIViewController XCode XCode3 XCode4 XCode 4.0.2 XCode4.2

Blogroll

  • Android App Pattrns
  • Cocoa with Love
  • Cocos2D – Forum
  • iCodeBlog
  • IOS Design Patterns
  • iPhone Developer Tips
  • RayWenderLich
  • TechnoPote
  • TechnoTalkative – One Stop for Android Tutorials
© 2019 iDevTricks
Admired Theme