Graphisoft®

GX ModuleVersion: 16

GXStretchGSPixMap

Stretches the part given by rect of the source pixmap into the part given by rect of the destination pixmap.

    GSErr GXStretchGSPixMap (
      const GSPixMapHandle  srcPixMap,
      GSPixMapHandle        dstPixMap,
      const GSRect&         srcRect,
      const GSRect&         dstRect
    );

Parameters

srcPixMap
The source pixmap.
dstPixMap
The destination pixmap.
srcRect
The part of the pixmap to be stretched.
dstRect
The part of the pixmap to accomodate the stretched pixmap part.

Return Values

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Remarks

The ratio of the stretching is determined by the ration of the two rect.

Requirements

Version:
GX 10 or later
Header:
Graphics2D.h
Import Library:
GXImp.lib
Module:
GX.dll [WIN], GX.framework [MAC]

See Also

Graphics functions