//
//  BXGWorld.h
//  BXQuickTime
//
//  Created by Michael Ehrmann on 18.01.07.
//  Copyright 2007 Boinx Software. All rights reserved.
//


// this class seems to be completly unused...

#if !__LP64__
#if defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_6

#include <Carbon/Carbon.h>
#include <QuickTime/ImageCompression.h>
#include <QuickTime/QuickTimeComponents.h> 

@interface BXGWorld : NSObject {
	void *_gWorld;
}

+ (BXGWorld *) scaleGWorldData:(GWorldPtr)theSourceGWorld withSourceAspectRatio:(double)sourceAspectRatio toRect:(Rect)theDestinationRect withDestinationAspectRatio:(double)destinationAspectRatio;
+ (BXGWorld *) scaleGWorldData:(GWorldPtr)theSourceGWorld fromRect:(Rect)theSourceRect toRect:(Rect)theDestinationRect;

- (id) initWithPixelFormat:(OSType)inPixelFormat width:(int)inWidth height:(int)inHeight;

- (GWorldPtr)quickTimeGWorld;

- (int) width;
- (int) height;
- (int) bytesPerRow;

- (ImageDescriptionHandle) imageDescription;

@end

#endif
#endif