"Fossies" - the Fresh Open Source Software Archive

Member "fltk-1.3.3/documentation/html/Fl__PNG__Image_8H_source.html" (3 Nov 2014, 9903 Bytes) of package /linux/misc/fltk-1.3.3-docs-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

FLTK 1.3.3
Fl_PNG_Image.H
1 //
2 // "$Id: Fl_PNG_Image.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
3 //
4 // PNG 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 
19 /* \file
20  Fl_PNG_Image class . */
21 
22 #ifndef Fl_PNG_Image_H
23 #define Fl_PNG_Image_H
24 # include "Fl_Image.H"
25 
32 class FL_EXPORT Fl_PNG_Image : public Fl_RGB_Image {
33 
34 public:
35 
36  Fl_PNG_Image(const char* filename);
37  Fl_PNG_Image (const char *name_png, const unsigned char *buffer, int datasize);
38 private:
39  void load_png_(const char *name_png, const unsigned char *buffer_png, int datasize);
40 };
41 
42 #endif
43 
44 //
45 // End of "$Id: Fl_PNG_Image.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
46 //
The Fl_PNG_Image class supports loading, caching, and drawing of Portable Network Graphics (PNG) imag...
Definition: Fl_PNG_Image.H:32
Fl_Image, Fl_RGB_Image classes.
The Fl_RGB_Image class supports caching and drawing of full-color images with 1 to 4 channels of colo...
Definition: Fl_Image.H:183