IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcCreateImage ( GcImage image,
unsigned short  width,
unsigned short  height 
)

This function creates a new image. You must first define a variable of the type GcImage and initialise the GcImage::structVer field. After passing this variable to the function gcCreateImage(), it will hold the new image's properties and a handle to the image data in the video memory.

Parameters:
image Pointer to a GcImage object
width Designated width of the image in pixels
height Designated height of the image in pixels
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcDestroyImage
Examples:
example02.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1