TBitmap32

Ancestors

TPersistent
   |
TNotifiablePersistent
   |
TThreadPersistent
   |
TCustomMap
   |
TCustomBitmap32

Description

TBitmap32 extends TCustomBitmap32 with various methods and properties specific to the operating system's graphic subsystem. It provides methods for drawing on a device context (DC).

TBitmap32 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, TBitmap32 will automatically obtain support for new image file formats in design time and in run time.

TBitmap32 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).

Reference

Methods Properties Events
In TBitmap32:
CanvasAllocated BitmapHandle OnHandleChanged
DeleteCanvas BitmapInfo
HandleChanged Canvas
LoadFromResourceID Font
LoadFromResourceName Handle
RenderText Pixmap
TextExtent PixmapChanged
TextHeight
TextOut
TextWidth
UpdateFont
In TCustomBitmap32:
BeginMeasuring Backend OnAreaChanged
Clear Bits OnPixelCombine
Create Clipping
Destroy ClipRect
Draw CombineMode
DrawTo DrawMode
Empty MasterAlpha
EndMeasuring MeasuringMode
FillRect OuterColor
FlipHorz PenColor
FlipVert Pixel
FrameRect PixelPtr
GetStippleColor Resampler
HorzLine ResamplerClassName
Line ScanLine
LineTo StippleCounter
LoadFromFile StippleStep
LoadFromStream StretchFilter
MoveTo WrapMode
RaiseRectTS
ResetAlpha
ResetClipRect
Roll
Rotate
SaveToFile
SaveToStream
SetPixel
SetSize
SetStipple
VertLine
In TCustomMap:
Delete Height OnResize
Resized Width
In TThreadPersistent:
Lock LockCount
Unlock
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
Changed
EndUpdate