• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

Fl_PNG_Image.H

00001 //
00002 // "$Id$"
00003 //
00004 // PNG image header file for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2010 by Bill Spitzak and others.
00007 //
00008 // This library is free software. Distribution and use rights are outlined in
00009 // the file "COPYING" which should have been included with this file.  If this
00010 // file is missing or damaged, see the license at:
00011 //
00012 //     http://www.fltk.org/COPYING.php
00013 //
00014 // Please report all bugs and problems on the following page:
00015 //
00016 //     http://www.fltk.org/str.php
00017 //
00018 
00019 /* \file
00020    Fl_PNG_Image class . */
00021 
00022 #ifndef Fl_PNG_Image_H
00023 #define Fl_PNG_Image_H
00024 #  include "Fl_Image.H"
00025 
00032 class FL_EXPORT Fl_PNG_Image : public Fl_RGB_Image {
00033 
00034 public:
00035 
00036   Fl_PNG_Image(const char* filename);
00037   Fl_PNG_Image (const char *name_png, const unsigned char *buffer, int datasize);
00038 private:
00039   void load_png_(const char *name_png, const unsigned char *buffer_png, int datasize);
00040 };
00041 
00042 #endif
00043 
00044 //
00045 // End of "$Id$".
00046 //
  • © 1998-2016 by Bill Spitzak and others.     FLTK

  • © 1998-2016 by Bill Spitzak and others.     FLTK

    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.