00001 // imagecapture.h 00002 // 00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net> 00004 // 00005 // This program is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU General Public License 00007 // as published by the Free Software Foundation; either version 2 00008 // of the License, or (at your option) any later version. 00009 00010 #ifndef _IMAGECAPTURE_H_ 00011 #define _IMAGECAPTURE_H_ 00012 00013 #include <string> 00014 00015 00016 extern bool CaptureGLBufferToJPEG(const std::string& filename, 00017 int x, int y, 00018 int width, int height); 00019 extern bool CaptureGLBufferToPNG(const std::string& filename, 00020 int x, int y, 00021 int width, int height); 00022 00023 #endif // _IMAGECAPTURE_H_
1.4.1