37 lines
924 B
C
37 lines
924 B
C
/* GDK - The GIMP Drawing Kit
|
|
*
|
|
* Private pixel operation dispatch.
|
|
*/
|
|
|
|
#ifndef __GDK_PIXEL_OPS_H__
|
|
#define __GDK_PIXEL_OPS_H__
|
|
|
|
#include "gdktypes.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef void (*GdkCompositeFunc) (guchar *src_buf,
|
|
gint src_rowstride,
|
|
guchar *dest_buf,
|
|
gint dest_rowstride,
|
|
GdkByteOrder dest_byte_order,
|
|
gint width,
|
|
gint height);
|
|
|
|
typedef struct
|
|
{
|
|
GdkCompositeFunc composite_0888;
|
|
GdkCompositeFunc composite_565;
|
|
} GdkPixelOps;
|
|
|
|
extern G_GNUC_INTERNAL GdkPixelOps _gdk_pixel_ops;
|
|
|
|
#ifdef HAVE_GDK_PIXELOPS_INIT
|
|
G_GNUC_INTERNAL void _gdk_pixel_ops_init (void);
|
|
#else
|
|
#define _gdk_pixel_ops_init() ((void) 0)
|
|
#endif
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GDK_PIXEL_OPS_H__ */
|