Routines



SetRGB routine


Set the color attributes of the input Color object.

required external library: image

void SetPenColor ( Color color, unsigned char red, unsigned char green, unsigned char blue );


Parameters
color [in] Color object that embeeds the red, green and blue attributes of the color
red [in] value of red attribute of the Color object
green [in] value of green attribute of the Color object
blue [in] value of blue attribute of the Color object

Return values

The routine does not return anything.

Example code

loadlib base;
loadlib image;


Color col;
main()
{
...
SetRGB(col,30,40,40);
...
}


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