User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_bitmap

TGIS_Bitmap class

DK11 for ActiveX | TatukGIS_XDK11.TGIS_Bitmap | Classes | Methods | Properties

Platform independent Bitmap (same object for all platforms).

Available also on: Delphi | .NET | Java.

Syntax

// C#
public class TGIS_Bitmap : ITGIS_Bitmap 
{
}
' VisualBasic
Public Class TGIS_Bitmap
  Implements ITGIS_Bitmap
End Class
// Oxygene
type
  TGIS_Bitmap = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
Assign_ public Assign bitmap from other instance.
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Create_ public Create an instance with a given size.
Create_2 public Create an instance with a given size.
Create_3 public Create an instance from exiting bitmap.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
DrawBitmap public Draw rectangle part of a bitmap on a apart of a bitmap
DrawShape public Draw a shape on a bitmap (for internal TGIS_Shape.PrepareContourInternal purposes).
DrawSymbol 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 public Load bitmap from DK standard resource.
LoadFromStream public Load bitmap from platform stream.
LockPixels public Return read only raw pixels in native system format and native system line order,
LockPixels_2 public Return raw pixels in native system format and native system line order.
LockPixels_3 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 public Save bitmap to stream.
SaveToStream_2 public Save bitmap to stream.
ScaleBitmap public Scales bitmap using filtering
UnlockPixels public Unlock pixels obtained by Lock() method.

Properties

Inherited Protected
Name Visibility Description
Height public Bitmap height in pixels.
IsEmpty public True if bitmap is empty (has no NativeBitmap attached.
NativeBitmap public Platform specific bitmap object (like TBitmap for VCL).
Path public Path to bitmap (exits always for bitmap created form files).
Premultiplied public True if bitmap should be treated as premultipied.
Transparent public True if bitmap is transparent.
Width public Bitmap width in pixels.

References

2020/05/28 09:02

Page Tools