2001-11-24 21:07:58 +03:00
|
|
|
//
|
|
|
|
// PNM image header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2010-11-29 00:06:39 +03:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
2001-11-24 21:07:58 +03:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
2001-11-24 21:07:58 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-04-16 04:13:17 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
2001-11-24 21:07:58 +03:00
|
|
|
//
|
|
|
|
|
2008-10-15 17:46:06 +04:00
|
|
|
/* \file
|
2008-09-16 11:26:22 +04:00
|
|
|
Fl_PNM_Image class . */
|
|
|
|
|
2001-11-24 21:07:58 +03:00
|
|
|
#ifndef Fl_PNM_Image_H
|
|
|
|
#define Fl_PNM_Image_H
|
|
|
|
# include "Fl_Image.H"
|
|
|
|
|
2008-09-14 22:19:41 +04:00
|
|
|
/**
|
|
|
|
The Fl_PNM_Image class supports loading, caching,
|
|
|
|
and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class
|
|
|
|
loads bitmap, grayscale, and full-color images in both ASCII and
|
|
|
|
binary formats.
|
|
|
|
*/
|
2001-11-24 21:07:58 +03:00
|
|
|
class FL_EXPORT Fl_PNM_Image : public Fl_RGB_Image {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Fl_PNM_Image(const char* filename);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|