Routines
|
SetPenColor routine
Set the color attribute of the pen that is associated to a color image. The attribute is used
by drawing routines such as DrawBox or DrawLine.
required external library: image
Parameters
img |
[in] Image variable that handles the color image |
color |
[in] ] a Color object that embeeds the red, green and blue attributes of the color |
Return values
The routine does not return anything.
Example code
- loadlib image;
- mage in
- Color col;
- main()
- {
- LoadImage(in,"anger.bmp");
- SetRGB(col,30,40,40);
- SetPenColor(in,col);
- }
Requirements
external dynamic link library: image.dll on the server
|
Last update : November 24, 2003
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