/[crust]/crust/libs/GraphicsFoundation/GFBitmapContext.h
ViewVC logotype

Diff of /crust/libs/GraphicsFoundation/GFBitmapContext.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jrydberg, Sun Aug 26 20:46:03 2001 UTC revision 1.2 by jrydberg, Mon Sep 17 12:32:30 2001 UTC
# Line 27  Line 27 
27  #include <GraphicsFoundation/GFImage.h>  #include <GraphicsFoundation/GFImage.h>
28  #include <sys/types.h>  #include <sys/types.h>
29    
30  /* Create a bitmap context that is WIDTH wide and HEIGHT high.    /* Create a bitmap context that is will render into DST_IMG.   */
31     BITS_PER_COMPONENT must be 8.  COLORSPACE is just used to get the  GF_EXTERN GFContextRef GFBitmapContextCreate (GFImageRef dst_img,
32     number of components for the bitmap.  Returns a reference to the                                                GFColorSpaceRef colorspace);
    bitmap context.  */  
 GF_EXTERN GFContextRef GFBitmapContextCreate (void *raster_buffer,  
                                               size_t width, size_t height,  
                                               size_t bits_per_component,  
                                               size_t rowstride,  
                                               GFColorSpaceRef colorspace,  
                                               GFImageAlphaInfo alpha_info);  
33    
34  #endif /* GFBitmapContext.h */  #endif /* GFBitmapContext.h */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26