Difference between revisions of "LazRGBGraphics"

From Lazarus wiki
Jump to navigationJump to search
Line 30: Line 30:
 
LPGL Modifiée
 
LPGL Modifiée
  
===Download===
+
===Téléchargement ===
[http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=205425 LazRGBGraphics on the Lazarus CCR at SourceForge.net]
+
[http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=205425 LazRGBGraphics sur le Lazarus CCR à SourceForge.net]
  
 
SVN: https://svn.sourceforge.net/svnroot/lazarus-ccr/components/rgbgraphics
 
SVN: https://svn.sourceforge.net/svnroot/lazarus-ccr/components/rgbgraphics

Revision as of 09:22, 16 June 2007

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

About

LazRGBGraphics is run-time package for fast in memory image processing and pixel manipulations (like scan line). The main advantage is direct memory access to bitmap pixels with keeping ability to draw bitmap onto canvas without any widgetset time consuming memory format converting.

The main class is TRGB32Bitmap which is anolog to TBitmap.

TRGB32Bitmap features:

  • load from file, save to file
  • creating from TBitmap
  • drawing and stretchdrawing to TCanvas
  • rotating, stretching
  • inverting colors
  • drawing primitives via canvas (TRGB32Canvas) with emphasis on accuracy
  • per pixel manipulation via GetPixelPtr

The download contains the package and simple example application.

This package was designed for cross-platform usage.

Captures d'écran

Example application Drawing primitives

Auteur

Tom Gregorovic

Licence

LPGL Modifiée

Téléchargement

LazRGBGraphics sur le Lazarus CCR à SourceForge.net

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

Change Log

  • Version 0.1

TODO

  • test on big-endian architecture
  • halftone stretching 0.2
  • polygons 0.2
  • masking 0.2
  • alpha blending 0.3

Notes

Status: Alpha

Issues:

  • Tested on Windows XP.
  • Tested with gtk1 and gtk2 under Linux (Kubuntu 6.06).
  • Tested with gtk1 under FreeBSD 6.1 (by Almindor)
  • Tested on AMD64 with gtk1 Debian/Etch (by Tanila)

Installation

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