TBitmap32

Hierarchy

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

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