pixelformats.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 143 行

H
143
字号
#ifndef _VCF_PIXELFORMATS_H__#define _VCF_PIXELFORMATS_H__//PixelFormats.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#endif#if defined(AGG_GRAY8)#include "thirdparty/common/agg/include/agg_pixfmt_gray.h"#define pix_format agg::pix_format_gray8typedef agg::pixfmt_gray8 pixformat;typedef agg::pixfmt_gray8_pre pixfmt_pre;typedef agg::gray8 color_type;#elif defined(AGG_BGR24)#include "thirdparty/common/agg/include/agg_pixfmt_rgb.h"#define pix_format agg::pix_format_bgr24typedef agg::pixfmt_bgr24 pixfmt;typedef agg::pixfmt_bgr24_pre pixfmt_pre;#define pixfmt_gamma agg::pixfmt_bgr24_gammatypedef agg::rgba8 color_type;typedef agg::order_bgr component_order;#elif defined(AGG_RGB24)#include "thirdparty/common/agg/include/agg_pixfmt_rgb.h"#define pix_format agg::pix_format_rgb24typedef agg::pixfmt_rgb24 pixfmt;typedef agg::pixfmt_rgb24_pre pixfmt_pre;#define pixfmt_gamma agg::pixfmt_rgb24_gammatypedef agg::rgba8 color_type;typedef agg::order_rgb component_order;#elif defined(AGG_BGRA32)#include "thirdparty/common/agg/include/agg_pixfmt_rgba.h"#define pix_format agg::pix_format_bgra32typedef agg::pixfmt_bgra32 pixfmt;typedef agg::pixfmt_bgra32_pre pixfmt_pre;typedef agg::rgba8 color_type;typedef agg::order_bgra component_order;#elif defined(AGG_RGBA32)#include "thirdparty/common/agg/include/agg_pixfmt_rgba.h"#define pix_format agg::pix_format_rgba32typedef agg::pixfmt_rgba32 pixfmt;typedef agg::pixfmt_rgba32_pre pixfmt_pre;typedef agg::rgba8 color_type;typedef agg::order_rgba component_order;#elif defined(AGG_ARGB32)#include "thirdparty/common/agg/include/agg_pixfmt_rgba32.h"#define pix_format agg::pix_format_argb32typedef agg::pixfmt_argb32 pixfmt;typedef agg::pixfmt_argb32_pre pixfmt_pre;typedef agg::rgba8 color_type;typedef agg::order_argb component_order;#elif defined(AGG_ABGR32)#include "thirdparty/common/agg/include/agg_pixfmt_rgba32.h"#define pix_format agg::pix_format_abgr32typedef agg::pixfmt_abgr32 pixfmt;typedef agg::pixfmt_abgr32 pixfmt;typedef agg::pixfmt_abgr32_pre pixfmt_pre;typedef agg::rgba8 color_type;typedef agg::order_argb component_order;#elif defined(AGG_RGB565)#include "thirdparty/common/agg/include/agg_pixfmt_rgb_packed.h"#define pix_format agg::pix_format_rgb565typedef agg::pixfmt_rgb565 pixfmt;typedef agg::pixfmt_rgb565_pre pixfmt_pre;typedef agg::rgba8 color_type;#elif defined(AGG_RGB555)#include "thirdparty/common/agg/include/agg_pixfmt_rgb_packed.h"#define pix_format agg::pix_format_rgb555typedef agg::pixfmt_rgb555 pixfmt;typedef agg::pixfmt_rgb555_pre pixfmt_pre;typedef agg::rgba8 color_type;#else#error Please define pixel format: \AGG_GRAY8, AGG_BGR24, AGG_RGB24, \AGG_BGRA32, AGG_RGBA32, AGG_ARGB32, \AGG_ABGR32, AGG_RGB565, or AGG_RGB555#endif/***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  2005/10/17 01:36:34  ddiego*some more under the hood image stuff. updated agg.**Revision 1.2  2004/08/07 02:49:18  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.3.4.1  2004/04/26 21:58:40  marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.3  2003/12/18 05:15:58  ddiego*merge from devmain-0-6-2 branch into the stable branch**Revision 1.2.2.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.**/#endif // _VCF_PIXELFORMATS_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?