User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_bitmap.scalebitmap_tgis_pixels_integer_integer_tgis_pixels_integer_integer_tgis_scalingfilter

Table of Contents

TGIS_Bitmap.ScaleBitmap method

DK11 for Delphi | GisTypesUI.TGIS_Bitmap.ScaleBitmap | Constructors | Methods | Properties

Scales bitmap using filtering

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

Syntax

// Delphi
public
  class procedure ScaleBitmap(
    const _srcBmp : TGIS_Pixels;
    const _srcWidth : Integer;
    const _srcHeight : Integer;
    const _dstBmp : TGIS_Pixels;
    const _dstWidth : Integer;
    const _dstHeight : Integer;
    const _filtering : TGIS_ScalingFilter
  );
// C++ Builder
public:
  __classmethod void ScaleBitmap(
    TGIS_Pixels* const _srcBmp,
    const int _srcWidth,
    const int _srcHeight,
    TGIS_Pixels* const _dstBmp,
    const int _dstWidth,
    const int _dstHeight,
    TGIS_ScalingFilter* const _filtering
  );

Parameters

Name Type Description
_srcBmp TGIS_Pixels source bitmap
_srcWidth Integer with of bitmap in _srcBmp
_srcHeight Integer height of bitmap in _srcBmp
_dstBmp TGIS_Pixels destination bitmap
_dstWidth Integer with of output bitmap in _dstBmp
_dstHeight Integer height of output bitmap in _dstBmp
_filtering TGIS_ScalingFilter scaling resampling (filtering) method
2022/11/30 19:19

Page Tools