User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_bitmap.scalebitmap_tgis_pixels_integer_integer_tgis_pixels_integer_integer_tgis_scalingfilter

Table of Contents

TGIS_Bitmap.ScaleBitmap method

DK11 for .NET | TatukGIS.NDK.TGIS_Bitmap.ScaleBitmap | Constructors | Methods | Properties

Scales bitmap using filtering

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

Syntax

// C#
public static void ScaleBitmap(
  Int32[] _srcBmp,
  int _srcWidth,
  int _srcHeight,
  Int32[] _dstBmp,
  int _dstWidth,
  int _dstHeight,
  TGIS_ScalingFilter _filtering
);
' VisualBasic
Public Shared Sub ScaleBitmap(
  ByVal _srcBmp As Int32(),
  ByVal _srcWidth As Integer,
  ByVal _srcHeight As Integer,
  ByVal _dstBmp As Int32(),
  ByVal _dstWidth As Integer,
  ByVal _dstHeight As Integer,
  ByVal _filtering As TGIS_ScalingFilter
)
// Oxygene
public
  class procedure ScaleBitmap(
    _srcBmp : TGIS_Pixels;
    _srcWidth : Integer;
    _srcHeight : Integer;
    _dstBmp : TGIS_Pixels;
    _dstWidth : Integer;
    _dstHeight : Integer;
    _filtering : TGIS_ScalingFilter
  );

Parameters

Name Type Description
_srcBmp Int32[]
TGIS_Pixels
source bitmap
_srcWidth int
Integer
with of bitmap in _srcBmp
_srcHeight int
Integer
height of bitmap in _srcBmp
_dstBmp Int32[]
TGIS_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
2022/11/30 19:21

Page Tools