Generic Polygon Clipper (gpc) Revision History
==============================================
v2.32 17th Dec 2004
---------------------
Fixed occasional memory leak occurring when processing some
degenerate polygon arrangements.
Added explicit type casting to memory allocator in support of
increased code portability.
v2.31 4th Jun 1999
---------------------
Separated edge merging measure based on a user-defined GPC_EPSILON
value from general numeric equality testing and ordering, which now
uses direct arithmetic comparison rather an EPSILON based proximity
test.
Fixed problem with numerical equality test during construction of
local minima and scanbeam tables, leading to occasional crash.
Fixed hole array memory leak in gpc_add_contour.
Fixed uninitialised hole field bug in gpc_polygon_clip result.
v2.30 11th Apr 1999
---------------------
Major re-write.
Minor API change: additional 'hole' array field added to gpc_polygon
datatype to indicate which constituent contours are internal holes,
and which form external boundaries.
Minor API change: additional 'hole' argument to gpc_add_contour
to indicate whether the new contour is a hole or external contour.
Minor API change: additional parameter to gpc_read_polygon and
gpc_write_polygon to indicate whether or not to read or write
contour hole flags.
Fixed NULL pointer bug in add/merge left/right operations.
Fixed numerical problem in intersection table generation.
Fixed zero byte malloc problem.
Fixed problem producing occasional 2 vertex contours.
Added bounding box test optimisations.
Simplified edge bundle creation, detection of scanbeam internal
edge intersections and tristrip scanbeam boundary code.
Renamed 'class' variable to be C++ friendly.
v2.22 17th Oct 1998
---------------------
Re-implemented edge interpolation and intersection calculations
to improve numerical robustness.
Simplified setting of GPC_EPSILON.
v2.21 19th Aug 1998
---------------------
Fixed problem causing occasional incorrect output when processing
self-intersecting polygons (bow-ties etc).
Removed bug which may lead to non-generation of uppermost triangle
in tristrip output.
v2.20 26th May 1998
---------------------
Major re-write.
Added exclusive-or polygon set operation.
Replaced table-based processing of edge intersections with
rule-based system.
Replaced two-pass approach to scanbeam interior processing with
single pass method.
v2.10a 14th May 1998
---------------------
Minor bug-fixes to counter some v2.10 reliability problems.
v2.10 11th May 1998
---------------------
Major re-write.
Incorporated edge bundle processing of AET to overcome coincident
edge problems present in previous releases.
Replaced Vatti's method for processing scanbeam interior regions
with an adapted version of the scanbeam boundary processing
algorithm.
v2.02 16th Apr 1998 (unreleased)
----------------------------------
Fixed internal minimum vertex duplication in gpc_polygon_clip
result.
Improved line intersection code discourage superfluous
intersections near line ends.
Removed limited precision number formatting in gpc_write_polygon.
Modification to allow subject or clip polygon to be reused as the
result in gpc_polygon_clip without memory leakage.
v2.01 23rd Feb 1998
---------------------
Removed bug causing duplicated vertices in output polygon.
Fixed scanbeam table index overrun problem.
v2.00 25th Nov 1997
---------------------
Major re-write.
Replaced temporary horizontal edge work-around (using tilting)
with true horizontal edge handling.
Trapezoidal output replaced by tristrips.
gpc_op constants now feature a `GPC_' prefix.
Data structures now passed by reference to gpc functions.
Replaced AET search by proxy addressing in polygon table.
Eliminated most (all?) coincident vertex / edge crashes.
v1.02 18th Oct 1997 (unreleased)
----------------------------------
Significantly reduced number of mallocs in build_lmt.
Scanbeam table now built using heapsort rather than insertion
sort.
v1.01 12th Oct 1997
---------------------
Fixed memory leak during output polygon build in
gpc_clip_polygon.
Removed superfluous logfile debug code.
Commented out malloc counts.
Added missing horizontal edge tilt-correction code in
gpc_clip_polygon.
v1.00 8th Oct 1997
--------------------
First release.
没有合适的资源?快使用搜索试试~ 我知道了~
agg-2.5 AGG是一个开源、高效的跨平台2D图形库
5星 · 超过95%的资源 需积分: 50 53 下载量 114 浏览量
2010-11-23
10:36:00
上传
评论 1
收藏 551KB GZ 举报
温馨提示
共542个文件
h:150个
cpp:119个
makefile:70个
AGG是一个开源、高效的跨平台2D图形库。AGG的功能与GDI+的功能非常类似,但提供了比GDI+更灵活的编程接口,其产生的图形的质量也非常高(自称超过GDI+) 1.下载AGG库,它的家在http://www.antigrain.com,目前最高版本是AGG2.5 2.解压,后面以[AGG]表示AGG的解压目录. 3.把[AGG]\include加入到include搜索目录中 4.把[AGG]\src里所有cpp加入到项目中(或者用makefile一起编译) 5.另外,AGG还有一些其它组件,用到时也要把它们(都是些.h和.cpp文件)加入项目: •如果要用AGG的控件和窗体,要加入[AGG]\src\ctrl\*.cpp和[AGG]\src\platform\<OS>\*.cpp,头文件在[AGG]\include\ctrl和[AGG]\include\platform里 •如果要用到TrueType字体显示,要加入[AGG]\font_win32_tt目录下的源码和头文件。利用freetype库,则是[AGG]\font_freetype目录。 •如果要用到Generic Polygon Clipper库(一个区域剪裁计算库),加入[AGG]\gpc目录下的源码和头文件。
资源推荐
资源详情
资源评论
收起资源包目录
agg-2.5 AGG是一个开源、高效的跨平台2D图形库 (542个子文件)
Makefile.in.CYGWIN_NT-5.0 129B
Makefile.in.MINGW32_NT-5.0 91B
Makefile.in.CYGWIN_NT-5.1 129B
Makefile.in.MINGW32_NT-5.1 91B
Makefile.am 18KB
Makefile.am 4KB
Makefile.am 1KB
Makefile.am 599B
Makefile.am 498B
Makefile.am 381B
Makefile.am 381B
Makefile.am 353B
Makefile.am 349B
Makefile.am 304B
Makefile.am 291B
Makefile.am 245B
Makefile.am 229B
Makefile.am 146B
Makefile.am 121B
Makefile.am 41B
Makefile.am 36B
Makefile.am 36B
Makefile.AmigaOS 11KB
authors 121B
authors 0B
Makefile.in.BeOS 81B
gpc.c 73KB
ChangeLog 31B
ChangeLog 0B
copying 18KB
copying 866B
agg_embedded_raster_fonts.cpp 385KB
agg_platform_support.cpp 49KB
agg_platform_support.cpp 46KB
agg_font_freetype.cpp 42KB
agg_font_win32_tt.cpp 35KB
agg_platform_support.cpp 34KB
make_gb_poly.cpp 34KB
agg_gsv_text.cpp 32KB
agg_platform_support.cpp 29KB
agg_svg_parser.cpp 27KB
graph_test.cpp 26KB
mol_view.cpp 25KB
agg_platform_support.cpp 24KB
parse_lion.cpp 23KB
agg_platform_support.cpp 23KB
scanline_boolean2.cpp 21KB
bezier_div.cpp 21KB
gpc_test.cpp 20KB
distortions.cpp 19KB
agg_curves.cpp 19KB
aa_test.cpp 19KB
agg_win32_bmp.cpp 19KB
truetype_test.cpp 18KB
freetype_test.cpp 18KB
rasterizers2.cpp 18KB
gradients.cpp 18KB
alpha_mask3.cpp 17KB
flash_rasterizer2.cpp 16KB
blend_color.cpp 15KB
flash_rasterizer.cpp 15KB
compositing.cpp 14KB
line_patterns_clip.cpp 14KB
agg_gamma_ctrl.cpp 14KB
agg_scale_ctrl.cpp 14KB
gouraud_mesh.cpp 13KB
image_transforms.cpp 13KB
line_patterns.cpp 13KB
image_filters.cpp 13KB
pattern_resample.cpp 13KB
image_resample.cpp 13KB
alpha_gradient.cpp 12KB
alpha_mask2.cpp 12KB
agg_spline_ctrl.cpp 11KB
blur.cpp 11KB
pattern_fill.cpp 11KB
image_fltr_graph.cpp 11KB
agg_svg_path_renderer.cpp 11KB
trans_curve2_ft.cpp 11KB
agg_bezier_ctrl.cpp 11KB
trans_curve2.cpp 11KB
image_perspective.cpp 11KB
multi_clip.cpp 11KB
agg_polygon_ctrl.cpp 11KB
idea.cpp 10KB
agg_slider_ctrl.cpp 10KB
image_filters2.cpp 10KB
agg_rbox_ctrl.cpp 9KB
compositing2.cpp 9KB
pattern_perspective.cpp 9KB
rasterizer_compound.cpp 9KB
pure_api.cpp 9KB
perspective.cpp 9KB
interactive_polygon.cpp 9KB
trans_curve1_ft.cpp 9KB
gouraud.cpp 9KB
trans_curve1.cpp 9KB
agg_bezier_arc.cpp 9KB
agg_sqrt_tables.cpp 8KB
agg_mac_pmap.cpp 8KB
共 542 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- TheXeler2014-07-04很不错呢,可惜没怎么用,一直在研究DX。
- Rattenking2021-07-07执行【./configure; make and ./autogen.sh; make】怎么报错?https://pypi.org/project/pypotrace/
- godflower2012-02-09注意:2.5版本是GPL的License,2.4是BSD的
liubinyn
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功