GrDrawImageBits()

Name

GrDrawImageBits() -- Draw an image

Synopsis

void GrDrawImageBits ( GR_DRAW_ID id , GR_GC_ID gc , GR_COORD x , GR_COORD y , GR_IMAGE_HDR * pimage );

Description

This function draws the specified image onto the specified drawable.

Note

The utility application convbmp that comes with Microwindows will build GR_IMAGE_HDR structures that may be compiled into your application.

Note

The maximum image size that may be sent between the client and server is set by the constant MAXREQUESTSZ, defined in the file microwin/src/nanox/nxproto.h.

Parameters

TypeNameDescription
GR_DRAW_IDidThe ID of the drawable to draw the image onto.
GR_GC_IDgcThe ID of the graphics context to use when drawing the image.
GR_COORDxThe X coordinate to draw the image at, relative to the drawable.
GR_COORDyThe Y coordinate to draw the image at, relative to the drawable.
GR_IMAGE_HDR*pimageA pointer to the image structure.