GdipDrawImagePointsI

 

 

Description

Draws an image at a specified location.

Syntax

GpStatus WINGDIPAPI GdipDrawImagePointsI(

    GpGraphics *graphics,

    GpImage *image,

    GDIPCONST GpPoint *dstpoints,

    INT count

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawImagePointsI ( _

    BYVAL graphics AS DWORD, _

    BYVAL pImage AS DWORD, _

    BYREF dstpoints AS PointL, _

    BYVAL count AS LONG _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

image

[in] Pointer to an Image object that specifies the image to be drawn.

dstpoints

[in] Pointer to an array of PointL structures that specify the area, in a parallelogram, in which to draw the image.

count

[in] Long integer value that specifies the number of elements in the destPoints array.

Remarks

The value of the count parameter must equal 3 to specify the coordinates of the upper-left corner, upper-right corner, and lower-left corner of the parallelogram. The coordinate of the lower-right corner is calculated using the three given coordinates, the width, and the height of the image. The image is scaled to fit the parallelogram.

 

Valid HTML 4.01 Transitional