diff -r 45c82a071aca -r a59acc683080 Source/QuartzUtils.h --- a/Source/QuartzUtils.h Wed May 28 12:47:10 2008 -0700 +++ b/Source/QuartzUtils.h Thu May 29 15:04:06 2008 -0700 @@ -39,13 +39,6 @@ #endif -/** Moves a layer from one superlayer to another, without changing its position onscreen. */ -void ChangeSuperlayer( CALayer *layer, CALayer *newSuperlayer, int index ); - -/** Removes a layer from its superlayer without any fade-out animation. */ -void RemoveImmediately( CALayer *layer ); - - /** Loads an image or pattern file into a CGImage or CGPattern. If the name begins with "/", it's interpreted as an absolute filesystem path. Otherwise, it's the name of a resource that's looked up in the app bundle. @@ -61,6 +54,9 @@ CGImageRef GetCGImageFromPasteboard( NSPasteboard *pb ); #endif +CGImageRef CreateScaledImage( CGImageRef srcImage, CGFloat scale ); +CGImageRef GetScaledImageNamed( NSString *imageName, CGFloat scale ); + /** Creates a CGPattern from a CGImage. Caller must release it. */ CGPatternRef CreateImagePattern( CGImageRef image );