Interface IGDIPlus.IGPBitmap
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
Inherits: IGPImage
Contents |
Syntax
Delphi:
type IGPBitmap = interface( IGPImage )
Summary
Interface to a TGPBitmap object.
Description
Defines interface to a TGPBitmap object.
The TGPBitmap class inherits from the TGPImage class. The TGPImage class provides methods for loading and saving vector images (metafiles) and raster images (bitmaps). The TGPBitmap class expands on the capabilities of the TGPImage class by providing additional methods for creating and manipulating raster images.
Properties
- Pixels - Sets or gets the color of a specified pixel in this bitmap.
Methods
- function Clone(rect : TGPRect; format : TGPPixelFormat) : TGPBitmap - Creates a new TGPBitmap object by copying a portion of this bitmap.
- function Clone(x : Integer; y : Integer; width : Integer; height : Integer; format : TGPPixelFormat) : TGPBitmap - Creates a new TGPBitmap object by copying a portion of this bitmap.
- function CloneF(rect : TGPRectF; format : TGPPixelFormat) : TGPBitmap - Creates a new TGPBitmap object by copying a portion of this bitmap.
- function CloneF(x : Single; y : Single; width : Single; height : Single; format : TGPPixelFormat) : TGPBitmap - Creates a new TGPBitmap object by copying a portion of this bitmap.
- function LockBits(rect : TGPRect; flags : Cardinal; format : TGPPixelFormat) : IGPBitmapData - Locks a rectangular portion of this bitmap and provides a temporary buffer.
- function GetPixel(x : Integer; y : Integer) : TGPColor - Gets the color of a specified pixel in this bitmap.
- function SetPixel(x : Integer; y : Integer; color : TGPColor) : TGPBitmap - Sets the color of a specified pixel in this bitmap.
- procedure SetPixelProp(x : Integer; y : Integer; color : TGPColor)
- function SetResolution(xdpi : Single; ydpi : Single) : TGPBitmap - Sets the resolution of this TGPBitmap object.
- function GetHBITMAP(colorBackground : TGPColor) : HBITMAP - Creates a Microsoft Windows Graphics Device Interface (GDI) bitmap from this Bitmap object.
- function GetHICON() : HICON - Creates an icon from this Bitmap object.