MIMAGE MAllocImage (int imgw, int imgh, int np)

Creates an empty MIMAGE object

Documentation

Creates an empty MIMAGE object. You can set image pixel colors using MImageSetPixelRGB in case of a True Color image (24 planes), or MImageSetPixelIndex and MImageSetCMapEntry in case of a colormapped image (nplanes != 24).
Parameters:
imgw - The desired image width.
imgh - The desired image height.
np - The desired number of color planes. Valid values are 1, 4, 8, 24.

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++