gifImage Class Reference
Inherits SharedImage.
List of all members.
|
Public Member Functions |
bool | fetch () |
Static Public Member Functions |
bool | test (const uchar *datas, unsigned size=0) |
SharedImage * | get (const char *name, const uchar *datas=0) |
Detailed Description
This can either display an image from a .gif image file, or from a block of data that is the contents of the image file. By using a block of data the image can be compiled into a program, this is whta Fluid does to imbed gif images into the source code and is currently the most efficient way to get a Fluid program to produce an image.
To use data, pass a non-null pointer as the second argument to the constructor. The filename is ignored in this case, but the "guess image" code uses this to identify identical images and reuse them (nyi)
Member Function Documentation
bool gifImage::test |
( |
const uchar * |
datas, |
|
|
unsigned |
size = 0 |
|
) |
[static] |
|
|
Tests block of data to see if it looks like the start of a .gif file. |
The documentation for this class was generated from the following files:
- fltk/SharedImage.h
- src/gifImage.cxx
Sun Jan 7 00:55:17 2007.
©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for
any purpose, provided this copyright and permission notice are preserved.