aggcommon.h

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

H
146
字号
#ifndef _VCF_AGGCOMMON_H__#define _VCF_AGGCOMMON_H__//AggCommon.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/**This is a common header to pull in commonly used headers for theAGG Library (http://www.antigrain.com/)*/#include "thirdparty/common/agg/include/agg_path_storage.h"#include "thirdparty/common/agg/include/agg_conv_transform.h"#include "thirdparty/common/agg/include/agg_conv_stroke.h"#include "thirdparty/common/agg/include/agg_rasterizer_outline.h"#include "thirdparty/common/agg/include/agg_rasterizer_scanline_aa.h"#include "thirdparty/common/agg/include/agg_renderer_scanline.h"#include "thirdparty/common/agg/include/agg_alpha_mask_u8.h"#include "thirdparty/common/agg/include/agg_conv_curve.h"#include "thirdparty/common/agg/include/agg_rendering_buffer.h"/***Copyright (c) 2000-2001, Jim Crafton*All rights reserved.*Redistribution and use in source and binary forms, with or without*modification, are permitted provided that the following conditions*are met:*	Redistributions of source code must retain the above copyright*	notice, this list of conditions and the following disclaimer.**	Redistributions in binary form must reproduce the above copyright*	notice, this list of conditions and the following disclaimer in*	the documentation and/or other materials provided with the distribution.**THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"*AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT*LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR*A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS*OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,*EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,*PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR*PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF*LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING*NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS*SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.**NB: This software will not save the world.*//***CVS Log info*$Log$*Revision 1.3  2004/12/01 04:31:42  ddiego*merged over devmain-0-6-6 code. Marcello did a kick ass job*of fixing a nasty bug (1074768VCF application slows down modal dialogs.)*that he found. Many, many thanks for this Marcello.**Revision 1.2.2.1  2004/09/06 03:33:21  ddiego*updated the graphic context code to support image transforms.**Revision 1.2  2004/08/07 02:49:16  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.2  2004/04/29 04:10:26  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1  2004/04/28 03:40:30  ddiego*migration towards new directory structure**Revision 1.3.4.1  2004/04/26 21:58:38  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.**Revision 1.2  2003/08/09 02:56:43  ddiego*merge over from the devmain-0-6-1 branch*Changes*Features:*-Added additional implementation to better support the MVC architecture in*the VCF**-Added a Document/View architecure that is similar to MFC's or NextSteps's*Doc/View architectures**-Integrated the Anti Grain Graphics library into the GraphicsKit. There is*now basic support for it in terms of drawing vector shapes*(fills and strokes). Image support will come in the next release**-Added several documented graphics tutorials**Bugfixes:**[ 775744 ] wrong buttons on a dialog*[ 585239 ] Painting weirdness in a modal dialog ?*[ 585238 ] Modal dialog which makes a modal Dialog*[ 509004 ] Opening a modal Dialog causes flicker*[ 524878 ] onDropped not called for MLTcontrol**Plus an issue with some focus and getting the right popup window to activate*has also been fixed**Revision 1.1.2.3  2003/07/28 23:49:58  ddiego*check in of the weekend's work from July 25*learned how to use agg image renedering, now have to integrate it into the*GraphicsKit - alos enabled setting a viewable bounds that sets the agg cliprect*as well, useful for later optimizations**Revision 1.1.2.2  2003/07/21 03:08:30  ddiego*added bezier curve editing to Sketchit, fixed a bug in not saving*bitmaps, added PackageInfo to the ApplicationKit**Revision 1.1.2.1  2003/07/05 04:04:45  ddiego*added more AGG support*  added a common AGG header to use when accessing the AGG API directly*  see the graphics/AggCommon.h header for this*  Made some minor changes to Path to work a bit simpler*  Implemented Polygon completely,*  Implemented BasicFill and BasicStroke - using AGG**/#endif // _VCF_AGGCOMMON_H__

⌨️ 快捷键说明

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