User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_bitmap_methods

TGIS_Bitmap methods

Methods

Inherited Overrides Protected
Name Visibility Description
AsPng public Export png as ready as arry of bytes in PNG format.
Assign public Assign bitmap from other instance.
CreateViewer public Create a bitmap viewer
DrawBitmap(TGIS_Bitmap, TGIS_Pixels, TRect, TRect) public Draw rectangle part of a bitmap on a part of a bitmap
DrawBitmap(TGIS_Bitmap, TRect, TRect) public Draw rectangle part of a bitmap on a part of a bitmap
DrawGlyph public Draws symbolk optimized to be used by a buttn glyph
DrawShape(TObject, bool, float, TPoint) public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawShape(TObject, int, bool, float, TPoint) public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawShape(TObject, int, bool, TGIS_Color, TGIS_Color, float, TPoint) public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawSymbol(str) public Draws symbol
DrawSymbol(str, int) public Draws symbol
DrawSymbol(str, int, TGIS_Color, TGIS_Color) public Draws symbol
IsNilOrEmpty public Test if bitmap is emptyt or nil
LoadFromBitmap public Load bitmap from platform specific bitmap object.
LoadFromFile public Load bitmap from file.
LoadFromResourceName(IntPtr, str) public Load bitmap from resource from specific module.
LoadFromResourceName(str) public Load bitmap from DK standard resource.
LoadFromStream public Load bitmap from platform stream.
LockPixels(TGIS_Pixels) public Return read only raw pixels in native system format and native system line order,
LockPixels(TGIS_Pixels, bool) public Return raw pixels in native system format and native system line order.
LockPixels(TGIS_Pixels, bool, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) public Return raw pixels
MakeGlowing public Add semitransparent "glowing" shadow to the bitmap.
MakeTransparent public Make bitmap transparent by replacing all pixels with same color as left-up corner with TGIS_Color.None color (full ARGB transparency)
NativeFormat public Native format of bitmaps (ARGB or ABGR) for current platform
NativeLineOrder public Native line order of bitmaps (up-down or down-up) for current platform.
SaveToFile public Save bitmap to file.
SaveToStream(TObject) public Save bitmap to stream.
SaveToStream(TObject, TGIS_PixelFormat, TGIS_PixelSubFormat, int) public Save bitmap to stream.
ScaleBitmap public Scales bitmap using filtering
UnlockPixels public Unlock pixels obtained by Lock() method.

2023/08/09 01:51

Page Tools