    CGBitmapInfo bitmapInfo
 ) ;
 
+FUNCTION: CGImageRef CGBitmapContextCreateImage
+   CGContextRef c
+) ;
+
 FUNCTION: void CGColorSpaceRelease ( CGColorSpaceRef ref ) ;
 
 DESTRUCTOR: CGColorSpaceRelease

! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.data alien.destructors
alien.syntax accessors destructors fry kernel math math.bitwise
sequences libc colors images images.memory core-graphics.types
core-foundation.utilities opengl.gl literals ;
IN: core-graphics

TYPEDEF: int CGImageAlphaInfo


FUNCTION: size_t CGImageGetHeight (
   CGImageRef image
) ;

FUNCTION: CGImageDestinationRef CGImageDestinationCreateWithURL (
   CFURLRef url,
   CFStringRef type,
   size_t count,
   CFDictionaryRef options
) ;

FUNCTION: void CGImageDestinationAddImage (
   CGImageDestinationRef idst,
   CGImageRef image,
   CFDictionaryRef properties
) ;

FUNCTION: bool CGImageDestinationFinalize (
   CGImageDestinationRef idst
) ;

FUNCTION: void* CGBitmapContextGetData ( CGContextRef c ) ;
