imageloader.h
来自「这是VCF框架的代码」· C头文件 代码 · 共 110 行
H
110 行
#ifndef _VCF_IMAGELOADER_H__#define _VCF_IMAGELOADER_H__//ImageLoader.h/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/#if _MSC_VER > 1000# pragma once#endifnamespace VCF{/**\class ImageLoader ImageLoader.h "vcf/GraphicsKit/ImageLoader.h"*The ImageLoader interface provides a means to load up images into a generic Bitmap.*Examples are JPEG ImageLoaders, GIF, BMP, etc ImageLoaders.**@version 1.0*@author Jim Crafton*//*@interface*/class GRAPHICSKIT_API ImageLoader {public: virtual ~ImageLoader(){}; /** *loads the image from a file *@param String the fully qualified file name that *specifies the image to load */ virtual Image* loadImageFromFile( const String& fileName )=0; /** *does this ImageLoader support saving the image *@return bool returns true if the ImageLoader supports *saving the image, otherwise returns false. If the this *function does return true, then it is safe to call *saveImageToFile() */ virtual bool canSaveImage() = 0; /** *Saves the image to file *@param String the fully qualified filename that specifies *the file to save. *@param Image the image object that will be saved */ virtual void saveImageToFile( const String& fileName, Image* image )=0;};};/***CVS Log info*$Log$*Revision 1.3 2006/04/07 02:35:41 ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.2.6.1 2006/03/12 22:42:08 ddiego*more doc updates - specific to graphicskit.**Revision 1.2 2004/08/07 02:49:17 ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.2 2004/04/29 04:10:27 marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1 2004/04/28 03:40:31 ddiego*migration towards new directory structure**Revision 1.8.4.1 2004/04/26 21:58:40 marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.8 2003/12/18 05:15:58 ddiego*merge from devmain-0-6-2 branch into the stable branch**Revision 1.7.14.1 2003/10/28 04:06:11 ddiego*updated the GraphicsContext and ContextPeer classes to support*slider control drawing. adjusted the Slider control accordingly.*Also changed some of the GraphicsKit headers to conform to the*current header style.**Revision 1.7 2002/09/12 03:26:04 ddiego*merged over the changes from the devmain-0-5-5b branch**Revision 1.6.12.1 2002/08/06 02:57:35 ddiego*added base X11 files for GraphicsKit and made sure that the GraphicsKit compiles*under linux (GCC). There is now a new dir under build/xmake called GraphicsKit*where the xmake build script lives. This checkin also includes the base X11*include (as part of GraphicsKitPrivate.h), as well as linking to the X11 libs**Revision 1.6 2002/01/24 01:46:48 ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/#endif // _VCF_IMAGELOADER_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?