1.1 --- a/Source/QuartzUtils.h Wed May 28 12:47:10 2008 -0700
1.2 +++ b/Source/QuartzUtils.h Thu May 29 15:04:06 2008 -0700
1.3 @@ -39,13 +39,6 @@
1.4 #endif
1.5
1.6
1.7 -/** Moves a layer from one superlayer to another, without changing its position onscreen. */
1.8 -void ChangeSuperlayer( CALayer *layer, CALayer *newSuperlayer, int index );
1.9 -
1.10 -/** Removes a layer from its superlayer without any fade-out animation. */
1.11 -void RemoveImmediately( CALayer *layer );
1.12 -
1.13 -
1.14 /** Loads an image or pattern file into a CGImage or CGPattern.
1.15 If the name begins with "/", it's interpreted as an absolute filesystem path.
1.16 Otherwise, it's the name of a resource that's looked up in the app bundle.
1.17 @@ -61,6 +54,9 @@
1.18 CGImageRef GetCGImageFromPasteboard( NSPasteboard *pb );
1.19 #endif
1.20
1.21 +CGImageRef CreateScaledImage( CGImageRef srcImage, CGFloat scale );
1.22 +CGImageRef GetScaledImageNamed( NSString *imageName, CGFloat scale );
1.23 +
1.24 /** Creates a CGPattern from a CGImage. Caller must release it. */
1.25 CGPatternRef CreateImagePattern( CGImageRef image );
1.26