My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
Changes to /CoreGraphics/CGImageDestination.m
4ca33a037920 vs. ca790b6ad721 Compare: vs.  Format:
Revision ca790b6ad721
Go to: 
Project members, sign in to write a code review
/CoreGraphics/CGImageDestination.m   4ca33a037920 /CoreGraphics/CGImageDestination.m   ca790b6ad721
1 #import <CoreGraphics/CGImageDestination.h> 1 #import <CoreGraphics/CGImageDestination.h>
2 #import "O2ImageDestination.h" 2 #import <Onyx2D/O2ImageDestination.h>
3 #import "O2ImageSource.h" 3 #import <Onyx2D/O2ImageSource.h>
4 4
5 const CFStringRef kCGImageDestinationLossyCompressionQuality=(CFStringRef)@"kCGImageDestinationLossyCompressionQuality"; 5 const CFStringRef kCGImageDestinationLossyCompressionQuality=(CFStringRef)@"kCGImageDestinationLossyCompressionQuality";
6 const CFStringRef kCGImageDestinationBackgroundColor=(CFStringRef)@"kCGImageDestinationLossyCompressionQuality"; 6 const CFStringRef kCGImageDestinationBackgroundColor=(CFStringRef)@"kCGImageDestinationLossyCompressionQuality";
7 7
8 CFTypeID CGImageDestinationGetTypeID(void) { 8 CFTypeID CGImageDestinationGetTypeID(void) {
9 return O2ImageDestinationGetTypeID(); 9 return O2ImageDestinationGetTypeID();
10 } 10 }
11 11
12 CFArrayRef CGImageDestinationCopyTypeIdentifiers(void) { 12 CFArrayRef CGImageDestinationCopyTypeIdentifiers(void) {
13 return O2ImageDestinationCopyTypeIdentifiers(); 13 return O2ImageDestinationCopyTypeIdentifiers();
14 } 14 }
15 15
16 CGImageDestinationRef CGImageDestinationCreateWithData(CFMutableDataRef data,CFStringRef type,size_t imageCount,CFDictionaryRef options) { 16 CGImageDestinationRef CGImageDestinationCreateWithData(CFMutableDataRef data,CFStringRef type,size_t imageCount,CFDictionaryRef options) {
17 return O2ImageDestinationCreateWithData(data,type,imageCount,options); 17 return O2ImageDestinationCreateWithData(data,type,imageCount,options);
18 } 18 }
19 19
20 CGImageDestinationRef CGImageDestinationCreateWithDataConsumer(CGDataConsumerRef dataConsumer,CFStringRef type,size_t imageCount,CFDictionaryRef options) { 20 CGImageDestinationRef CGImageDestinationCreateWithDataConsumer(CGDataConsumerRef dataConsumer,CFStringRef type,size_t imageCount,CFDictionaryRef options) {
21 return O2ImageDestinationCreateWithDataConsumer(dataConsumer,type,imageCount,options); 21 return O2ImageDestinationCreateWithDataConsumer(dataConsumer,type,imageCount,options);
22 } 22 }
23 23
24 CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url,CFStringRef type,size_t imageCount,CFDictionaryRef options) { 24 CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url,CFStringRef type,size_t imageCount,CFDictionaryRef options) {
25 return O2ImageDestinationCreateWithURL(url,type,imageCount,options); 25 return O2ImageDestinationCreateWithURL(url,type,imageCount,options);
26 } 26 }
27 27
28 void CGImageDestinationSetProperties(CGImageDestinationRef self,CFDictionaryRef properties) { 28 void CGImageDestinationSetProperties(CGImageDestinationRef self,CFDictionaryRef properties) {
29 O2ImageDestinationSetProperties(self,properties); 29 O2ImageDestinationSetProperties(self,properties);
30 } 30 }
31 31
32 void CGImageDestinationAddImage(CGImageDestinationRef self,CGImageRef image,CFDictionaryRef properties) { 32 void CGImageDestinationAddImage(CGImageDestinationRef self,CGImageRef image,CFDictionaryRef properties) {
33 O2ImageDestinationAddImage(self,image,properties); 33 O2ImageDestinationAddImage(self,image,properties);
34 } 34 }
35 35
36 void CGImageDestinationAddImageFromSource(CGImageDestinationRef self,CGImageSourceRef imageSource,size_t index,CFDictionaryRef properties) { 36 void CGImageDestinationAddImageFromSource(CGImageDestinationRef self,CGImageSourceRef imageSource,size_t index,CFDictionaryRef properties) {
37 O2ImageDestinationAddImageFromSource(self,imageSource,index,properties); 37 O2ImageDestinationAddImageFromSource(self,imageSource,index,properties);
38 } 38 }
39 39
40 40
41 bool CGImageDestinationFinalize(CGImageDestinationRef self) { 41 bool CGImageDestinationFinalize(CGImageDestinationRef self) {
42 return O2ImageDestinationFinalize(self); 42 return O2ImageDestinationFinalize(self);
43 } 43 }
44 44
45 45
Powered by Google Project Hosting