DK for Delphi | GisTypesUI.TGIS_Bitmap | Classes | Constructors | Methods | Properties
Platform independent Bitmap (same object for all platforms).
// Delphi type TGIS_Bitmap = class( TGIS_ObjectDisposable ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Bitmap : public TGIS_ObjectDisposable { };
| Name | Visibility | Description | |
|---|---|---|---|
| Create | public | Create an instance. | |
| Create(Integer; Integer) | public | Create an instance with a given size. | |
| Create(Integer; Integer; Boolean) | public | Create an instance with a specified size. | |
| Create(Integer; Integer; TGIS_BitmapFactory) | public | Create an instance with a specified size using a specified bitmap factory. | |
| Create(TGIS_Bitmap) | public | Create an instance from an existing bitmap. | |
| Create(TGIS_BitmapFactory) | public | Create an instance using a specified bitmap factory. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Assign | public | Assign bitmap from other instance. | |
| BitmapType | public | Return the platform specific bitmap type. | |
| Clear | public | Clear the bitmap with a specified color. | |
| CreateViewer | public | Create a viewer for this bitmap. | |
| DrawBitmap(TGIS_Bitmap; TGIS_Pixels; TRect; TRect) | public | Draw a rectangular region from one bitmap onto a rectangular region of this bitmap using a locked pixel buffer. | |
| DrawBitmap(TGIS_Bitmap; TRect; TRect) | public | Draw a rectangular part of one bitmap onto a rectangular part of this bitmap. | |
| DrawGlyph | public | Draw a symbol optimized for use as a button glyph. | |
| DrawShape(TObject; Boolean; Double; TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawShape(TObject; Integer; Boolean; Double; TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawShape(TObject; Integer; Boolean; TGIS_Color; TGIS_Color; Double; TPoint) | public | Draw a shape on the bitmap for internal TGIS_Shape.PrepareContourInternal processing. | |
| DrawSymbol(String) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(String; Integer) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(String; Integer; Single) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(String; Integer; TGIS_Color; TGIS_Color) | public | Draw a symbol into the bitmap. | |
| DrawSymbol(String; Integer; TGIS_Color; TGIS_Color; Single) | public | Draw a symbol into the bitmap. | |
| IsNilOrEmpty | public | Test if bitmap is empty or nil | |
| LoadFromBitmap | public | Load bitmap from platform specific bitmap object. | |
| LoadFromFile | public | Load bitmap from file. | |
| LoadFromResourceName(IntPtr; String) | public | Load a bitmap resource from a specific module. | |
| LoadFromResourceName(String) | public | Load bitmap from DK standard resource. | |
| LoadFromResourceName(String; String) | public | Load a bitmap from a standard DK resource. | |
| LoadFromStream | public | Load a bitmap from a platform specific stream object. | |
| LockPixels(TGIS_Pixels) | public | Lock and return read-only raw bitmap pixels in the native platform format and native line order. | |
| LockPixels(TGIS_Pixels; Boolean) | public | Lock and return raw bitmap pixels in the native platform format and native line order. | |
| LockPixels(TGIS_Pixels; Boolean; TGIS_BitmapFormat; TGIS_BitmapLinesOrder) | public | Lock and return raw bitmap pixels. | |
| MakeGlowing | public | Add a semitransparent glowing shadow to the bitmap. | |
| MakeTransparent | public | Make the bitmap transparent by replacing all pixels that match the upper-left corner color with TGIS_Color.None (full ARGB transparency). | |
| NativeFormat | public | Native bitmap format (ARGB or ABGR) for the current platform. | |
| NativeLineOrder | public | Native line order of bitmaps (top-down or bottom-up) for the current platform. | |
| SaveToFile(String) | public | Save bitmap to file. | |
| SaveToFile(String; TGIS_PixelFormat; TGIS_PixelSubFormat; Integer) | public | Save the bitmap to a file. | |
| SaveToStream(TObject) | public | Save the bitmap to a stream. | |
| SaveToStream(TObject; TGIS_PixelFormat; TGIS_PixelSubFormat; Integer) | public | Save the bitmap to a stream. | |
| ScaleBitmap | public | Scale bitmap pixels using the selected resampling filter. | |
| UnlockPixels | public | Unlock pixels obtained by LockPixels and write back any changes if the lock was writable. | |
| Name | Visibility | Description | |
|---|---|---|---|
| BitmapFactory | public | Bitmap factory used to produce the bitmap data. | |
| Height | public | Bitmap height in pixels. | |
| IsEmpty | public | True if the bitmap is empty and has no native bitmap attached. | |
| NativeBitmap | public | Platform specific native bitmap object, such as VCL TBitmap. | |
| Path | public | Path to the bitmap file, available for bitmaps created from files. | |
| PPI | public | Resolution of the bitmap in pixels per inch (PPI). | |
| Premultiplied | public | True if the bitmap should be treated as premultiplied. | |
| Transparent | public | True if bitmap is transparent. | |
| Width | public | Bitmap width in pixels. | |