Click or drag to resize

Gdi32FuncStretchBlt Method

Stretches or compresses a bitmap from a source device context into a destination device context.

Namespace: Altaxo.UnmanagedApi.Gdi32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static bool StretchBlt(
	IntPtr hdcDest,
	int nXOriginDest,
	int nYOriginDest,
	int nWidthDest,
	int nHeightDest,
	IntPtr hdcSrc,
	int nXOriginSrc,
	int nYOriginSrc,
	int nWidthSrc,
	int nHeightSrc,
	TernaryRasterOperations dwRop
)

Parameters

hdcDest  IntPtr
A handle to the destination device context.
nXOriginDest  Int32
The x-coordinate of the destination upper-left corner.
nYOriginDest  Int32
The y-coordinate of the destination upper-left corner.
nWidthDest  Int32
The destination width.
nHeightDest  Int32
The destination height.
hdcSrc  IntPtr
A handle to the source device context.
nXOriginSrc  Int32
The x-coordinate of the source upper-left corner.
nYOriginSrc  Int32
The y-coordinate of the source upper-left corner.
nWidthSrc  Int32
The source width.
nHeightSrc  Int32
The source height.
dwRop  TernaryRasterOperations
The raster-operation code.

Return Value

Boolean
if the bitmap transfer succeeded; otherwise, .
See Also