User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_bitmap.scalebitmap_itgis_pixels_integer_integer_itgis_pixels_integer_integer_tgis_scalingfilter

Table of Contents

ITGIS_Bitmap.ScaleBitmap method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.ScaleBitmap | Methods | Properties

Scales bitmap using filtering

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public void ScaleBitmap(
  ITGIS_Pixels _srcBmp,
  int _srcWidth,
  int _srcHeight,
  ITGIS_Pixels _dstBmp,
  int _dstWidth,
  int _dstHeight,
  TGIS_ScalingFilter _filtering
);
' VisualBasic
Public Sub ScaleBitmap(
  ByVal _srcBmp As ITGIS_Pixels,
  ByVal _srcWidth As Integer,
  ByVal _srcHeight As Integer,
  ByVal _dstBmp As ITGIS_Pixels,
  ByVal _dstWidth As Integer,
  ByVal _dstHeight As Integer,
  ByVal _filtering As TGIS_ScalingFilter
)
// Oxygene
public
  procedure ScaleBitmap(
    _srcBmp : ITGIS_Pixels;
    _srcWidth : Integer;
    _srcHeight : Integer;
    _dstBmp : ITGIS_Pixels;
    _dstWidth : Integer;
    _dstHeight : Integer;
    _filtering : TGIS_ScalingFilter
  );

Parameters

Name Type Description
_srcBmp ITGIS_Pixels source bitmap
_srcWidth int
Integer
with of bitmap in _srcBmp
_srcHeight int
Integer
height of bitmap in _srcBmp
_dstBmp ITGIS_Pixels destination bitmap
_dstWidth int
Integer
with of output bitmap in _dstBmp
_dstHeight int
Integer
height of output bitmap in _dstBmp
_filtering TGIS_ScalingFilter scaling resampling (filtering) method
2025/01/31 01:03

Page Tools