2 * This file is a part of QComicBook.
4 * Copyright (C) 2005-2006 Pawel Stolowski <yogin@linux.bydg.org>
6 * QComicBook is free software; you can redestribute it and/or modify it
7 * under terms of GNU General Public License by Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY. See GPL for more details.
13 #ifndef __IMLIBIMAGE_H
14 #define __IMLIBIMAGE_H
16 /*! \file imlibimage.h */
30 OTHER_FORMAT = 1 << 31
45 int load(const QString &path);
46 void draw(QPaintDevice *p, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh);
49 ImageFormat getFormat() const;
50 void setFormat(ImageFormat format);
51 void rotate(int orient);
52 ImlibImage* rotateClone(int orient);
55 static void setCacheSize(int bytes);
58 typedef QPtrList<ImlibImage> ImlibImageList;