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 */
29 OTHER_FORMAT = 1 << 31
44 int load(const QString &path);
45 void draw(QPaintDevice *p, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh);
48 ImageFormat getFormat() const;
49 void setFormat(ImageFormat format);
50 void rotate(int orient);
51 ImlibImage* rotateClone(int orient);
54 static void setCacheSize(int bytes);