GdipDrawImageRect

 

 

Description

Draws an image at a specified location.

Syntax

GpStatus WINGDIPAPI GdipDrawImageRect(

    GpGraphics *graphics,

    GpImage *image,

    REAL x,

    REAL y,

    REAL width,

    REAL height

);

PowerBASIC Syntax

DECLARE FUNCTION GdipDrawImageRect ( _

    BYVAL graphics AS DWORD, _

    BYVAL pImage AS DWORD, _

    BYVAL x AS SINGLE, _

    BYVAL y AS SINGLE, _

    BYVAL nWidth AS SINGLE, _

    BYVAL nHeight AS SINGLE _

) AS LONG

Parameters

 

graphics

[in] Pointer to the Graphics object.

image

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

x

[in] Simple precision value that specifies the x-coordinate of the upper-left corner of the destination rectangle at which to draw the image.

y

[in] Simple precision value that specifies the y-coordinate of the upper-left corner of the destination rectangle at which to draw the image.

width

[in] Simple precision value that specifies the width of the destination rectangle at which to draw the image.

height

[in] Simple precision value that specifies the height of the destination rectangle at which to draw the image.

 

Valid HTML 4.01 Transitional