JCL Help:TJclBitmap32

From Project JEDI Wiki
Jump to navigationJump to search

Class Hierarchy

TJclThreadPersistent
|
TJclCustomMap
|
TJclBitmap32


Summary

32 bit color depth bitmap class.


Pascal

 public TJclBitmap32 = class(TJclCustomMap);


Description

TJclBitmap32 manages a single 32-bit device-independent bitmap (DIB) and provides methods for drawing on it and combining it with other DIBs or other objects with device context (DC).
TJclBitmap32 overrides Assign and AssignTo methods (inherited from TPersistent) to provide compatibility with standard objects: TBitmap, TPicture and TClipboard in both directions. The design-time streaming to and from *.dfm files, inherited from TPersistent, is supported, but its realization is different from streaming with other stream types (See the source code for details).
TJclBitmap32 does not implement its own low-level streaming or low-level file loading/saving. Instead, it uses streaming methods of temporal TBitmap or TPicture objects. This is an obvious performance penalty, however such approach allows using third-party libraries, which extend TGraphic class for various image formats support (JPEG, TGA, TIFF, GIF, PNG, etc.). When you install them, TJclBitmap32 will automatically obtain support for new image file formats in design time and in run time.
Since TJclBitmap32 is a descendant of TJclThreadPersistent, it inherits its locking mechanism and it may be used in multi-threaded applications. Category Graphics


About

Unit

JclGraphics


Navigation

Donator

Alex Denissov


Platforms

VCL


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page