Sign in Join
FPDoc Onlineexperiment

TWidgetSet.StretchDIBits function

Member of TWidgetSetpublicIn unit InterfaceBase

Copies a rectangular region from a DIB into an device context, shrinking or stretching it as required.

Declaration

pascal
function StretchDIBits(DC: HDC; DestX: Integer; DestY: Integer; 
 DestWidth: Integer; DestHeight: Integer; 
 SrcX: Integer; SrcY: Integer; SrcWidth: Integer; 
 SrcHeight: Integer; Bits: Pointer; 
 var BitsInfo: TBitmapInfo; Usage: UINT; 
 Rop: DWORD): Integer; virtual

Arguments

DC

The destination Device Context.

DestX

The destination origin.

DestY

The destination origin.

DestWidth

The destination extent.

DestHeight

The destination extent.

SrcX

The source origin.

SrcY

The source origin.

SrcWidth

The source extent.

SrcHeight

The source extent.

Bits

The device independent bitmap bits.

BitsInfo

The bitmap info structure.

Usage

The color mode.

Rop

The raster operation.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.