/***************************************************************************
                            qt_QPixmap.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QPIXMAP
#define QT_QPIXMAP

#include <qtc/qtc_types.h>

#define QPIXMAP_Auto	0
#define QPIXMAP_Color	1
#define QPIXMAP_Mono	2
#define QPIXMAP_DefaultOptim	0
#define QPIXMAP_NoOptim	1
#define QPIXMAP_MemoryOptim	QPIXMAP_NoOptim
#define QPIXMAP_NormalOptim	2
#define QPIXMAP_BestOptim	3
qt_QPixmap * qt_new_QPixmap();
qt_QPixmap * qt_new_QPixmap1(qt_QImage * image);
qt_QPixmap * qt_new_QPixmap2(int w, int h, int depth, int arg1);
qt_QPixmap * qt_new_QPixmap3(qt_QSize * arg1, int depth, int arg2);
qt_QPixmap * qt_new_QPixmap4(qt_QString * fileName, char* format, int mode);
qt_QPixmap * qt_new_QPixmap5(qt_QString * fileName, char* format, int conversion_flags);
qt_QPixmap * qt_new_QPixmap6(char** xpm);
qt_QPixmap * qt_new_QPixmap7(qt_QByteArray* data);
qt_QPixmap * qt_new_QPixmap8(qt_QPixmap * arg1);
void qt_del_QPixmap( qt_QPixmap* p );
int qt_QPixmap_isNull(qt_QPixmap* instPointer);
int qt_QPixmap_width(qt_QPixmap* instPointer);
int qt_QPixmap_height(qt_QPixmap* instPointer);
qt_QSize * qt_QPixmap_size(qt_QPixmap* instPointer);
qt_QRect* qt_QPixmap_rect(qt_QPixmap* instPointer);
int qt_QPixmap_depth(qt_QPixmap* instPointer);
void qt_QPixmap_fill(qt_QPixmap* instPointer,qt_QColor * fillColor);
void qt_QPixmap_fill1(qt_QPixmap* instPointer,qt_QWidget * arg1, int xofs, int yofs);
void qt_QPixmap_fill2(qt_QPixmap* instPointer,qt_QWidget * arg1, qt_QPoint* ofs);
void qt_QPixmap_resize(qt_QPixmap* instPointer,int width, int height);
void qt_QPixmap_resize1(qt_QPixmap* instPointer,qt_QSize * arg1);
qt_QBitmap * qt_QPixmap_mask(qt_QPixmap* instPointer);
void qt_QPixmap_setMask(qt_QPixmap* instPointer,qt_QBitmap * arg1);
int qt_QPixmap_selfMask(qt_QPixmap* instPointer);
qt_QBitmap * qt_QPixmap_createHeuristicMask(qt_QPixmap* instPointer,int clipTight);
qt_QPixmap * qt_QPixmap_xForm(qt_QPixmap* instPointer,qt_QWMatrix * arg1);
qt_QImage * qt_QPixmap_convertToImage(qt_QPixmap* instPointer);
int qt_QPixmap_convertFromImage(qt_QPixmap* instPointer,qt_QImage * arg1, int mode);
int qt_QPixmap_convertFromImage1(qt_QPixmap* instPointer,qt_QImage * arg1, int conversion_flags);
int qt_QPixmap_load(qt_QPixmap* instPointer,qt_QString * fileName, char* format, int mode);
int qt_QPixmap_load1(qt_QPixmap* instPointer,qt_QString * fileName, char* format, int conversion_flags);
int qt_QPixmap_loadFromData(qt_QPixmap* instPointer,unsigned char* buf, unsigned int len, char* format, int mode);
int qt_QPixmap_loadFromData1(qt_QPixmap* instPointer,unsigned char* buf, unsigned int len, char* format, int conversion_flags);
int qt_QPixmap_loadFromData2(qt_QPixmap* instPointer,qt_QByteArray* data, char* format, int conversion_flags);
int qt_QPixmap_save(qt_QPixmap* instPointer,qt_QString * fileName, char* format, int quality);
void * qt_QPixmap_hbm(qt_QPixmap* instPointer);
int qt_QPixmap_serialNumber(qt_QPixmap* instPointer);
int qt_QPixmap_optimization(qt_QPixmap* instPointer);
void qt_QPixmap_setOptimization(qt_QPixmap* instPointer,int arg1);
void qt_QPixmap_detach(qt_QPixmap* instPointer);
int qt_QPixmap_isQBitmap(qt_QPixmap* instPointer);
int qt_QPixmap_isMultiCellPixmap(qt_QPixmap* instPointer);
void * qt_QPixmap_multiCellHandle(qt_QPixmap* instPointer);
void * qt_QPixmap_multiCellBitmap(qt_QPixmap* instPointer);
int qt_QPixmap_multiCellOffset(qt_QPixmap* instPointer);
int qt_QPixmap_allocCell(qt_QPixmap* instPointer);
void qt_QPixmap_freeCell(qt_QPixmap* instPointer,int arg1);
//qt_QGfx* qt_QPixmap_graphicsContext(qt_QPixmap* instPointer,int clip_children);
unsigned char* qt_QPixmap_scanLine(qt_QPixmap* instPointer,int arg1);
int qt_QPixmap_bytesPerLine(qt_QPixmap* instPointer);
int * qt_QPixmap_clut(qt_QPixmap* instPointer);
int qt_QPixmap_numCols(qt_QPixmap* instPointer);
void qt_QPixmap_x11SetScreen(qt_QPixmap* instPointer,int screen);
int qt_QPixmap_defaultDepth( );
qt_QPixmap * qt_QPixmap_grabWindow( unsigned int arg1, int x, int y, int w, int h);
qt_QPixmap * qt_QPixmap_grabWidget( qt_QWidget * widget, int x, int y, int w, int h);
qt_QWMatrix * qt_QPixmap_trueMatrix( qt_QWMatrix * arg1, int w, int h);
char* qt_QPixmap_imageFormat( qt_QString * fileName);
int qt_QPixmap_defaultOptimization( );
void qt_QPixmap_setDefaultOptimization( int arg1);
int qt_QPixmap_x11SetDefaultScreen( int screen);
qt_QPixmap * qt_new_QPixmap9(int w, int h, unsigned char* data, int isXbitmap);
int qt_QPixmap_metric(qt_QPixmap* instPointer,int arg1);

/** Casts a 'qt_QPixmap *' to a 'qt_QPaintDevice *' */
qt_QPaintDevice * qt_QPixmap_QPaintDevice(qt_QPixmap* instPointer);

/** Casts a 'qt_QPixmap *' to a 'qt_Qt*' */
qt_Qt* qt_QPixmap_Qt(qt_QPixmap* instPointer);

#endif
