共 17 篇文章 |
|
AGG入门(转)copy_solid_hspan(int x, int y, unsigned len, agg::rgba8* colors) copy_solid_vspan(int x, int y, unsigned len, agg::rgba8* colors)blend_solid_hspan(int x, int y, unsigned len, agg::rgba8* colors, int8u* cover, int8u cover)blend_solid_vspan(int x, int y, unsigned len, agg::rgba8* colors, int8u* cover, i... 阅2328 转23 评0 公众公开 12-07-22 09:42 |
阅628 转7 评0 公众公开 11-10-15 10:26 |
AGG 字体缓存管理器AGG 字体缓存管理器2010-07-11 22:13.头文件#include "agg_font_cache_manager.h" 类型template<class FontEngine> class font_cache_manager; 模板参数FontEngine指定管理器所用的字体引擎。 阅583 转8 评0 公众公开 11-10-15 10:26 |
AGG AGG与FreeType库AGG AGG与FreeType库2010-07-11 22:10.AGG的font_engine_freetype_int16字 体引擎就使用FreeType来取得字模,在Windows里,在使用font_engine_freetype_int16之前,我们得先编译好 FreeType:从www.freetype.org下 载FreeType2,偶下载的是目前最新的freetype-2.3.9,解压。(不过这个版本的 freetype.sln好 像好点问题,要... 阅954 转6 评0 公众公开 11-10-15 10:25 |
AGG 使用字体引擎(Font Engine)AGG 使用字体引擎(Font Engine)2010-07-11 22:08.要使用字体引擎,要把相应的字体引擎源码(agg_font_win32_tt.cpp或 agg_font_freetype.cpp)加入项目一起编译。agg::font_engine_win32_tt_int16agg::font_engine_win32_tt_int32agg::font_engine_freetype_int16agg::font_engine_freetype_int32.font_engine_free... 阅1330 转9 评0 公众公开 11-10-15 10:24 |
阅314 转6 评0 公众公开 11-10-15 10:22 |
AGG 色彩类线段生成器AGG 色彩类线段生成器2010-07-11 22:02.gradient_lut的头文件是#include <agg_gradient_lut.h>类声明为template<class ColorInterpolator, unsigned ColorLutSize = 256> class agg::gradient_lut. 阅456 转7 评0 公众公开 11-10-15 10:20 |
AGG 图像访问器(Image Accessor)AGG 图像访问器(Image Accessor)2010-07-11 21:59.比如我们把本例中的image_accessor_type定义改成//typedef agg::image_accessor_clone<agg::pixfmt_bgr24> image_accessor_type; typedef agg::image_accessor_wrap<agg::pixfmt_bgr24, agg::wrap_mode_reflect,agg::wrap_mode_repeat> image_... 阅387 转6 评0 公众公开 11-10-15 10:20 |
AGG 插值器(Interpolator)AGG 插值器(Interpolator)2010-07-11 21:57. 阅387 转6 评0 公众公开 11-10-15 10:19 |