1 //========================================================================
5 // This file is licensed under the GPLv2 or later
7 // Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
8 // Copyright (C) 2009, 2011 Albert Astals Cid <aacid@kde.org>
9 // Copyright (C) 2010 Adrian Johnson <ajohnson@redneon.com>
10 // Copyright (C) 2010 Brian Cameron <brian.cameron@oracle.com>
11 // Copyright (C) 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
13 //========================================================================
24 virtual bool init(FILE *f
, int width
, int height
, int hDPI
, int vDPI
) = 0;
26 virtual bool writePointers(unsigned char **rowPointers
, int rowCount
) = 0;
27 virtual bool writeRow(unsigned char **row
) = 0;
29 virtual bool close() = 0;
30 virtual bool supportCMYK() { return false; }