Lines Matching defs:imageRef
49 CGImageRef imageRef = CGImageSourceCreateImageAtIndex( sourceRef, 0, NULL );
51 if( !imageRef ) return false;
85 CGImageRelease( imageRef );
95 imageRef = NULL;
107 imageRef = CGImageSourceCreateImageAtIndex( sourceRef, 0, NULL );
109 if( !imageRef )
112 m_width = CGImageGetWidth( imageRef );
113 m_height = CGImageGetHeight( imageRef );
115 CGColorSpaceRef colorSpace = CGImageGetColorSpace( imageRef );
182 CGContextDrawImage( context, rect, imageRef );
348 // Turn the bitmap context into an imageRef
349 CGImageRef imageRef = CGBitmapContextCreateImage( context );
351 if( !imageRef )
357 // Write the imageRef to a file based on the UTI
364 CGImageRelease( imageRef );
376 CGImageRelease( imageRef );
382 CGImageDestinationAddImage(destRef, imageRef, NULL);
390 CGImageRelease( imageRef );