/***************************************************************************
                            qt_QImage.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_QIMAGE
#define QT_QIMAGE

#include <qtc/qtc_types.h>

#define QIMAGE_IgnoreEndian	0
#define QIMAGE_BigEndian	1
#define QIMAGE_LittleEndian	2
#define QIMAGE_ScaleFree	0
#define QIMAGE_ScaleMin	1
#define QIMAGE_ScaleMax	2
qt_QImage * qt_new_QImage();
qt_QImage * qt_new_QImage1(int width, int height, int depth, int numColors, int bitOrder);
qt_QImage * qt_new_QImage2(qt_QSize * arg1, int depth, int numColors, int bitOrder);
qt_QImage * qt_new_QImage3(qt_QString * fileName, char* format);
qt_QImage * qt_new_QImage4(char** xpm);
qt_QImage * qt_new_QImage5(qt_QByteArray* data);
qt_QImage * qt_new_QImage6(unsigned char* data, int w, int h, int depth, int * colortable, int numColors, int bitOrder);
//qt_QImage * qt_new_QImage7(unsigned char* data, int w, int h, int depth, int pbl, int * colortable, int numColors, int bitOrder);
qt_QImage * qt_new_QImage8(qt_QImage * arg1);
void qt_del_QImage( qt_QImage* p );
void qt_QImage_detach(qt_QImage* instPointer);
qt_QImage * qt_QImage_copy(qt_QImage* instPointer);
qt_QImage * qt_QImage_copy1(qt_QImage* instPointer,int x, int y, int w, int h, int conversion_flags);
qt_QImage * qt_QImage_copy2(qt_QImage* instPointer,qt_QRect* arg1);
int qt_QImage_isNull(qt_QImage* instPointer);
int qt_QImage_width(qt_QImage* instPointer);
int qt_QImage_height(qt_QImage* instPointer);
qt_QSize * qt_QImage_size(qt_QImage* instPointer);
qt_QRect* qt_QImage_rect(qt_QImage* instPointer);
int qt_QImage_depth(qt_QImage* instPointer);
int qt_QImage_numColors(qt_QImage* instPointer);
int qt_QImage_bitOrder(qt_QImage* instPointer);
unsigned int qt_QImage_color(qt_QImage* instPointer,int i);
void qt_QImage_setColor(qt_QImage* instPointer,int i, unsigned int c);
void qt_QImage_setNumColors(qt_QImage* instPointer,int arg1);
int qt_QImage_hasAlphaBuffer(qt_QImage* instPointer);
void qt_QImage_setAlphaBuffer(qt_QImage* instPointer,int arg1);
int qt_QImage_allGray(qt_QImage* instPointer);
int qt_QImage_isGrayscale(qt_QImage* instPointer);
unsigned char* qt_QImage_bits(qt_QImage* instPointer);
unsigned char* qt_QImage_scanLine(qt_QImage* instPointer,int arg1);
unsigned char** qt_QImage_jumpTable(qt_QImage* instPointer);
int * qt_QImage_colorTable(qt_QImage* instPointer);
int qt_QImage_numBytes(qt_QImage* instPointer);
int qt_QImage_bytesPerLine(qt_QImage* instPointer);
//qt_QGfx* qt_QImage_graphicsContext(qt_QImage* instPointer);
int qt_QImage_create(qt_QImage* instPointer,int width, int height, int depth, int numColors, int bitOrder);
int qt_QImage_create1(qt_QImage* instPointer,qt_QSize * arg1, int depth, int numColors, int bitOrder);
void qt_QImage_reset(qt_QImage* instPointer);
void qt_QImage_fill(qt_QImage* instPointer,unsigned int pixel);
void qt_QImage_invertPixels(qt_QImage* instPointer,int invertAlpha);
qt_QImage * qt_QImage_convertDepth(qt_QImage* instPointer,int arg1);
qt_QImage * qt_QImage_convertDepthWithPalette(qt_QImage* instPointer,int arg1, int * p, int pc, int cf);
qt_QImage * qt_QImage_convertDepth1(qt_QImage* instPointer,int arg1, int conversion_flags);
qt_QImage * qt_QImage_convertBitOrder(qt_QImage* instPointer,int arg1);
qt_QImage * qt_QImage_smoothScale(qt_QImage* instPointer,int w, int h, int mode);
qt_QImage * qt_QImage_smoothScale1(qt_QImage* instPointer,qt_QSize * s, int mode);
qt_QImage * qt_QImage_scale(qt_QImage* instPointer,int w, int h, int mode);
qt_QImage * qt_QImage_scale1(qt_QImage* instPointer,qt_QSize * s, int mode);
qt_QImage * qt_QImage_scaleWidth(qt_QImage* instPointer,int w);
qt_QImage * qt_QImage_scaleHeight(qt_QImage* instPointer,int h);
qt_QImage * qt_QImage_xForm(qt_QImage* instPointer,qt_QWMatrix * matrix);
qt_QImage * qt_QImage_createAlphaMask(qt_QImage* instPointer,int conversion_flags);
qt_QImage * qt_QImage_createHeuristicMask(qt_QImage* instPointer,int clipTight);
qt_QImage * qt_QImage_mirror(qt_QImage* instPointer);
qt_QImage * qt_QImage_mirror1(qt_QImage* instPointer,int horizontally, int vertically);
qt_QImage * qt_QImage_swapRGB(qt_QImage* instPointer);
int qt_QImage_load(qt_QImage* instPointer,qt_QString * fileName, char* format);
int qt_QImage_loadFromData(qt_QImage* instPointer,unsigned char* buf, unsigned int len, char* format);
int qt_QImage_loadFromData1(qt_QImage* instPointer,qt_QByteArray* data, char* format);
int qt_QImage_save(qt_QImage* instPointer,qt_QString * fileName, char* format, int quality);
int qt_QImage_valid(qt_QImage* instPointer,int x, int y);
int qt_QImage_pixelIndex(qt_QImage* instPointer,int x, int y);
unsigned int qt_QImage_pixel(qt_QImage* instPointer,int x, int y);
void qt_QImage_setPixel(qt_QImage* instPointer,int x, int y, unsigned int index_or_rgb);
int qt_QImage_dotsPerMeterX(qt_QImage* instPointer);
int qt_QImage_dotsPerMeterY(qt_QImage* instPointer);
void qt_QImage_setDotsPerMeterX(qt_QImage* instPointer,int arg1);
void qt_QImage_setDotsPerMeterY(qt_QImage* instPointer,int arg1);
qt_QPoint* qt_QImage_offset(qt_QImage* instPointer);
void qt_QImage_setOffset(qt_QImage* instPointer,qt_QPoint* arg1);
qt_QStringList* qt_QImage_textLanguages(qt_QImage* instPointer);
qt_QStringList* qt_QImage_textKeys(qt_QImage* instPointer);
qt_QString * qt_QImage_text(qt_QImage* instPointer,char* key, char* lang);
qt_QString * qt_QImage_text1(qt_QImage* instPointer,qt_QImageTextKeyLang* arg1);
void qt_QImage_setText(qt_QImage* instPointer,char* key, char* lang, qt_QString * arg1);
int qt_QImage_systemBitOrder( );
int qt_QImage_systemByteOrder( );
char* qt_QImage_imageFormat( qt_QString * fileName);
qt_QStrList * qt_QImage_inputFormats( );
qt_QStrList * qt_QImage_outputFormats( );
qt_QStringList* qt_QImage_inputFormatList( );
qt_QStringList* qt_QImage_outputFormatList( );

#endif
