User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_bitmapabstract

TGIS_BitmapAbstract class

DK11 for Delphi | GisTypesUI.TGIS_BitmapAbstract | Classes | Fields | Methods | Properties

Platform dependent Bitmap implementation.

Available also on: .NET | Java | Python.

Syntax

// Delphi
type
  TGIS_BitmapAbstract = class( TGIS_ObjectDisposable )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_BitmapAbstract : public TGIS_ObjectDisposable
{
};

Inheritance

Fields

Inherited Protected
Name Visibility Description
Master public Master TGIS_Bitmap object.

Methods

Inherited Overrides Protected
Name Visibility Description
Clear public Clear the bitmap with a color
CreateViewer public Create a bitmap viewer
DrawGlyph public
DrawShape(TObject; Boolean; Double; TPoint) public Draw a shape on a bitmap.
DrawShape(TObject; Integer; Boolean; Double; TPoint) public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawShape(TObject; Integer; Boolean; TGIS_Color; TGIS_Color; Double; TPoint) public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawSymbol(String) public Draws symbol
DrawSymbol(String; Integer) public Draws symbol
DrawSymbol(String; Integer; TGIS_Color; TGIS_Color) public Draws symbol
FromBitmap public Create bitmap from platform specific object.
FromFile public Create bitmap from file.
FromStream public Create bitmap from stream.
LockPixels public Prepare bitmap for direct pixel access operation.
MakeTransparent public Make bitmap transparent
ToFile(String) public Save bitmap to file.
ToFile(String; TGIS_PixelFormat; TGIS_PixelSubFormat; Integer) public Save bitmap to file.
ToStream(TObject) public Save bitmap to stream.
ToStream(TObject; TGIS_PixelFormat; TGIS_PixelSubFormat; Integer) public Save bitmap to stream.
UnlockPixels public Finalize pixel access operation.

Properties

Inherited Protected
Name Visibility Description
Data public Platform specific bitmap object (like TBitmap for VCL).
Height public Bitmap height in pixels.
PPI public Bitmap resolution.
Premultiplied public True if bitmap should be treated as premultipied.
Width public Bitmap width in pixels.

2024/07/05 20:53

Page Tools