Interface IGDIPlus.IGPBitmapData
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type IGPBitmapData = interface
Summary
Allows access to the attributes of a bitmap.
Description
Defines an interface for attributes of a bitmap.
Properties
- Width - Number of pixels in one scan line of the bitmap.
- Height - Number of scan lines in the bitmap.
- Stride - Offset, in bytes, between consecutive scan lines of the bitmap. If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up.
- PixelFormat - Specifies the pixel format of the bitmap.
- Scan0 - Pointer to the first (index 0) scan line of the bitmap.
Methods
- function GetWidth() : UINT - Number of pixels in one scan line of the bitmap.
- function GetHeight() : UINT - Number of scan lines in the bitmap.
- function GetStride() : Integer - Offset, in bytes, between consecutive scan lines of the bitmap. If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up.
- function GetPixelFormat() : TGPPixelFormat - Specifies the pixel format of the bitmap.
- function GetScan0() : Pointer - Pointer to the first (index 0) scan line of the bitmap.