LazRGBGraphics/zh CN

From Free Pascal wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

English (en) français (fr) 中文(中国大陆)‎ (zh_CN)

关于

LazRGBGraphics is a run-time package for fast in memory image processing and pixel manipulations (like scan line).

LazRGBGraphics 是运行时包为快速内存图像处理和像素操作(如行扫描)。

The main advantage is direct memory access to bitmap pixels with keeping ability to draw bitmap onto canvas without any time consuming widgetset memory format converting.

其主要优势是存储器直接存取、为位图像素保持性能、绘制位图到画布上没有任何时间消耗、部件工具箱内存格式转换。


The main class is TRGB32Bitmap which is analog to TBitmap.

这个主类是TRGB32Bitmap 模拟TBitmap。


TRGB32Bitmap 特点:

  • 加载文件,保存文件
  • 创建 TBitmap
  • 绘制和拉伸绘图到TCanvas
  • 旋转、拉伸
  • 反色
  • 通过画布绘制基元(TRGB32Canvas) 并强调准确性
  • 每像素通过 GetPixelPtr 处理

该下载包含了包和简单的应用程序示例。

这个包专为跨平台使用。

屏幕截图

应用程序示例 绘制基元

作者

Tom Gregorovic

授权

Modified LGPL

下载

SourceForge.net 上的 LazRGBGraphics

SVN: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/rgbgraphics

或者获得 rgbgraphics.tar.gz

更新日志

  • 版本 0.2.1
    • 修正为GTK编译,使用定义GTK_POST_0924,如果你使用的是Lazarus0.9.25或更高
    • 修正保存、载入和复制
    • 需要 Lazarus 0.9.24 或更高
  • 版本 0.2
    • 实现 Carbon
    • 需要 Lazarus 0.9.24 或更高
  • 版本 0.1

TODO

  • halftone stretching 0.3 半色调拉伸
  • 多边形 0.3
  • 伪装 0.3
  • alpha 混合 0.4

说明

状态: Alpha

问题:

  • Does not yet work with QT widgetset 还不能与 QT 部件工具箱工作
  • tested with win32/64 and gtk2 on Windows XP 测试在Windows XP 下的 win32/64和gtk2
  • tested with carbon and gtk2 on Mac OS X 10.4.7 (Intel) 测试在Mac OS X 10.4.7 (Intel) 下的 carbon和gtk2
  • tested with carbon and gtk1 on Mac OS X 10.4.7 (PPC) 测试在Mac OS X 10.4.7 (Intel) 下的 carbon和gtk1
  • tested with gtk1 and gtk2 under Linux (Kubuntu 6.06) 测试在Linux(Kubuntu 6.06)下的 gtk1和gtk2
  • tested with gtk1 under FreeBSD 6.1 (by Almindor) 测试在FreeBSD 6.1下的 gtk1(由 Almindor)
  • tested on AMD64 with gtk1 Debian/Etch (by Tanila) 测试在 AMD64 Debian/Etch (AMD64) 下的 gtk1(由 Tanila)

安装

Add LazRGBGraphics package as dependancy to the project and RGBGraphics to the uses section.

添加LazRGBGraphics包作为附属物添加到项目和RGBGraphics使用部分。