class ImagePlugin
Defined in:
The C4Plugins.h
ImagePlugin
class represents a generic image import plugin or image export plugin.
Definition
class ImagePlugin : public Plugin
Member Functions
ImagePlugin::GetImageTypeName |
Returns the name of the file type supported by an image plugin. |
ImagePlugin::GetImageResourceDescriptor |
Returns the resource descriptor for the file type supported by an image plugin. |
Constructor
ImagePlugin();
Description
The ImagePlugin
class is the base class for all image import plugins and image export plugins. An image import plugin contains the functionality needed to read a 2D pixel image from a resource file in a specific format. An image export plugin performs the opposite function and writes a 2D pixel image to a resource file. One or both of these types of plugin classes can be defined in a plugin module and registered with the Plugin Manager using the PluginMgr::RegisterImageImportPlugin
and PluginMgr::RegisterImageExportPlugin
functions.An implementation of an
ImagePlugin
subclass must override all of its pure virtual member functions.
Base Classes
Plugin |
An ImagePlugin is a specific type of plugin.
|
See Also