Routines



DrawGrayBox routine


Draws a gray rectangle on the input gray image object using the pen gray level defined.

required external library: image

void DrawGrayBox ( GrayImage img, Frame dim );


Parameters
img [in] GrayImage variable that handles the gray scale image
dim [in] the Frame object that contains the dimensions of the rectangle

Return values

The routine does not return anything.

Example code

loadlib image;


GrayImage in;
Frame dimension;
main()
{
LoadGrayImage(in,"anger.bmp");
SetFrame(dimension,10,10,50,50);
DrawGrayBox(in,dimension);
}


Requirements

  • external dynamic link library: image.dll on the server


  • If interested in this project, please fell free to contact the personnel of our group. The project leader is dr.drs. L.J.M. Rothkrantz