source: trunk/poppler/mypoppler/goo/ImgWriter.h @ 461

Last change on this file since 461 was 461, checked in by Silvan Scherrer, 11 years ago

poppler update to 0.14.2

File size: 846 bytes
RevLine 
[461]1//========================================================================
2//
3// ImgWriter.h
4//
5// This file is licensed under the GPLv2 or later
6//
7// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
8// Copyright (C) 2009 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//
12//========================================================================
13
14#ifndef IMGWRITER_H
15#define IMGWRITER_H
16
17#include <config.h>
18#include <stdio.h>
19       
20class ImgWriter
21{
22        public:
23                virtual ~ImgWriter();
24                virtual bool init(FILE *f, int width, int height, int hDPI, int vDPI) = 0;
25               
26                virtual bool writePointers(unsigned char **rowPointers, int rowCount) = 0;
27                virtual bool writeRow(unsigned char **row) = 0;
28               
29                virtual bool close() = 0;
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.