| djgcn |
07-02-11 01:37 |
Graphics32是个BCB/Delphi/Kylix用的2D绘图库, 其功能特殊之处,在於在无须硬体加速的情况下, 能够有接近於一百倍Delphi內置绘图库的高速度。
首页:http://www.graphics32.org/wiki/
它的原理除了部份计算公式的改善外,更重要的著眼点是, 完全基於32位元的图形运算,其原理在於。 - 在32位元的环境下,大部分的函式皆有最好的速度表现 - 基於四位元组为基础的记忆存取为最高速 - 图片的Alpha混成在32位元下速度最快 - 单一化的接口和处理方式 - 完全基於32位元,可应用更多最佳化的方式
这是原文的功能列表: Fast per-pixel access up to 100 times faster compared to standard TBitmap?; High-performance Bitmap alpha blending (including per-pixel alpha blending); Pixel, line and polygon antialiasing with sub-pixel accuracy (combined with alpha blending); Arbitrary polygon transformations and custom fillings; Bitmap resampling with high quality reconstruction filters (e.g. Lanczos, Cubic, Mitchell); A unique state-of-the-art rasterization system; Affine transformations of bitmaps: rotations, scaling, etc with sub-pixel accuracy; Arbitrary projective transformations of bitmaps; Arbitrary remapping transformations of bitmaps (e.g. for Warping, Morphing); Flexible supersampling implementation for maximum sampling quality; Flicker-free image displaying components with optimized double buffering via advanced MicroTiles? based repaint optimizer; Multiple customizible easy-to-use overlay layers; Locking of bitmaps for safe multithreading; A property editor for RGB and alpha channel loading; Design-time loading of image formats supported by standard TPicture; Works on Borland Delphi, C++ Builder and Kylix.
某些基於Pascal的新兴程式语言如Cobra已开始採用此函式库作为绘图库, 如果你是Delphi用户或习惯於Pascal语法,务必试试这个引擎。 |
|