topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-UIImage+Alpha.h / h



  // UIImage+Alpha.h
  // Created by Trevor Harmon on 9/20/09.
  // Free for personal or commercial use, with or without modification.
  // No warranty is expressed or implied.
  
  // NOTE: DerbyApp modified to convert from Category to 
  // new Class name since iPhone seems to have some issues with Categories
  // of built in Classes
  
  // Helper methods for adding an alpha layer to an image
  @interface UIImageAlpha : NSObject
  {
  }
  + (BOOL)hasAlpha:(UIImage*)image;
  + (UIImage *)imageWithAlpha:(UIImage*)image;
  + (UIImage *)transparentBorderImage:(NSUInteger)borderSize image:(UIImage*)image;
  @end
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.