IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcImage Struct Reference
[Data Types]

An image object. More...

Data Fields

unsigned char structVer
GcHandle internalHandle
unsigned short width
unsigned short height
GcTransparency transparency
GcColor transparentColor

Detailed Description

GcImage describes an image, but it does not hold the image data itself. Instead it holds an internal handle to the image data.
Use gcCreateImage() or gcLoadImageFromFile() on an GcImage object to allocate video memory and to assign image data. After that the image can be used. Use gcDestroyImage() to free the assigned video memory again. Note that this will not affect the GcImage object itself.

Since:
1.00
Examples:

example02.c, example03.c, example04.c, and example06.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