PPL7-Icon Patrick's Programming Library Version 7.0.0 - Dokumentation
ppl7::grafix::ImageFilter_GIF Klassenreferenz

Import-Filter für GIF-Dateien. Mehr ...

Abgeleitet von ppl7::grafix::ImageFilter.

Öffentliche Methoden

 ImageFilter_GIF ()
 
virtual ~ImageFilter_GIF ()
 
virtual String description ()
 
virtual int ident (FileObject &file, IMAGE &img)
 Grafikformat identifizieren. Mehr ...
 
virtual void load (FileObject &file, Drawable &surface, IMAGE &img)
 
virtual String name ()
 
 PPL7EXCEPTION (IllegalImageFormatException, Exception)
 
 PPL7EXCEPTION (EmptyImageException, Exception)
 
virtual void save (const Drawable &surface, FileObject &file, const Rect &area, const AssocArray &param=AssocArray())
 
virtual void save (const Drawable &surface, FileObject &file, const AssocArray &param=AssocArray())
 
void saveFile (const String &filename, const Drawable &surface, const Rect &area, const AssocArray &param=AssocArray())
 
void saveFile (const String &filename, const Drawable &surface, const AssocArray &param=AssocArray())
 

Ausführliche Beschreibung

Dieser Import Filter erlaubt das Laden von GIF-Dateien. Der Code basiert auf einer Library von David Koblas.

+-------------------------------------------------------------------+
| Copyright 1990, 1991, 1993, David Koblas. (koblas@netcom.com) |
| Permission to use, copy, modify, and distribute this software |
| and its documentation for any purpose and without fee is hereby |
| granted, provided that the above copyright notice appear in all |
| copies and that both that copyright notice and this permission |
| notice appear in supporting documentation. This software is |
| provided "as is" without express or implied warranty. |
+-------------------------------------------------------------------+

Beschreibung der Konstruktoren und Destruktoren

ppl7::grafix::ImageFilter_GIF::ImageFilter_GIF ( )
ppl7::grafix::ImageFilter_GIF::~ImageFilter_GIF ( )
virtual

Dokumentation der Elementfunktionen

String ppl7::grafix::ImageFilter_GIF::description ( )
virtual

Erneute Implementation von ppl7::grafix::ImageFilter.

int ppl7::grafix::ImageFilter_GIF::ident ( FileObject file,
IMAGE img 
)
virtual
Beschreibung:
Diese Funktion wird aufgerufen, um herauszufinden, ob ein Grafikformat durch diesen Filter gelesen werden kann. Ist dieser der Fall, muss die die Funktion 1 zurückgeben und die IMAGE-Struktur img füllen. Wird das Format nicht unterstützt, muss 0 zurückgegeben werden.
Parameter
[in]fileEine geöffnete Datei
[out]imgEine IMAGE-Struktur
Rückgabe
Wird das Grafikformat unterstützt, muss die Funktion 1 zurückgegen, andernfalls 0.

Erneute Implementation von ppl7::grafix::ImageFilter.

void ppl7::grafix::ImageFilter_GIF::load ( FileObject file,
Drawable surface,
IMAGE img 
)
virtual

Erneute Implementation von ppl7::grafix::ImageFilter.

String ppl7::grafix::ImageFilter_GIF::name ( )
virtual

Erneute Implementation von ppl7::grafix::ImageFilter.

ppl7::grafix::ImageFilter::PPL7EXCEPTION ( IllegalImageFormatException  ,
Exception   
)
inherited
ppl7::grafix::ImageFilter::PPL7EXCEPTION ( EmptyImageException  ,
Exception   
)
inherited
void ppl7::grafix::ImageFilter::save ( const Drawable surface,
FileObject file,
const Rect area,
const AssocArray param = AssocArray() 
)
virtualinherited
void ppl7::grafix::ImageFilter_GIF::save ( const Drawable surface,
FileObject file,
const AssocArray param = AssocArray() 
)
virtual

Erneute Implementation von ppl7::grafix::ImageFilter.

void ppl7::grafix::ImageFilter::saveFile ( const String filename,
const Drawable surface,
const Rect area,
const AssocArray param = AssocArray() 
)
inherited
void ppl7::grafix::ImageFilter::saveFile ( const String filename,
const Drawable surface,
const AssocArray param = AssocArray() 
)
inherited

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: