Fl_PNM_Image.H 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // "$Id: Fl_PNM_Image.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. //
  4. // PNM image header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2010 by Bill Spitzak and others.
  7. //
  8. // This library is free software. Distribution and use rights are outlined in
  9. // the file "COPYING" which should have been included with this file. If this
  10. // file is missing or damaged, see the license at:
  11. //
  12. // http://www.fltk.org/COPYING.php
  13. //
  14. // Please report all bugs and problems on the following page:
  15. //
  16. // http://www.fltk.org/str.php
  17. //
  18. /* \file
  19. Fl_PNM_Image class . */
  20. #ifndef Fl_PNM_Image_H
  21. #define Fl_PNM_Image_H
  22. # include "Fl_Image.H"
  23. /**
  24. The Fl_PNM_Image class supports loading, caching,
  25. and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class
  26. loads bitmap, grayscale, and full-color images in both ASCII and
  27. binary formats.
  28. */
  29. class FL_EXPORT Fl_PNM_Image : public Fl_RGB_Image {
  30. public:
  31. Fl_PNM_Image(const char* filename);
  32. DECLARE_CLASS_CHEAP_RTTI_2(Fl_PNM_Image, Fl_RGB_Image)
  33. };
  34. #endif
  35. //
  36. // End of "$Id: Fl_PNM_Image.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
  37. //