Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:stretchdibitswrapper

StretchDIBitsWrapper(
     HDC:hdc,
     int:xDest,
     int:yDest,
     int:DestWidth,
     int:DestHeight,
     int:xSrc,
     int:ySrc,
     int:SrcWidth,
     int:SrcHeight,
     CONST VOID*:lpBits,
     CONST BITMAPINFO*:lpbmi,
     UINT:iUsage,
     DWORD:rop
)
→ int

Arguments

hdc

[in]

xDest

[in]

yDest

[in]

DestWidth

[in]

DestHeight

[in]

xSrc

[in]

ySrc

[in]

SrcWidth

[in]

SrcHeight

[in]

lpBits

[in]

lpbmi

[in]

iUsage

[in]

rop

[in]

Description

The StretchDIBitsWrapper function is a wrapper for the Windows StretchDIBits function. If it is not available, the helper class calls StretchDIBits directly.

See the Windows API documentation for StretchDIBits for details of the parameters and return value.