Synopsis
Draw a dot.
Format
void MgraDot(GraphContId, DestImageBufId, XPos, YPos)
MIL_ID GraphContId; | Graphics context identifier |
MIL_ID DestImageBufId; | Destination image buffer identifier |
long XPos; | X position of dot |
long YPos; | Y position of dot |
Description
This function draws a dot at the specified drawing position, using the foreground color specified in the graphics context .
The GraphContId parameter specifies the identifier of the graphics context. This parameter can be set to M_DEFAULT, in which case the default graphics context of the current MIL application is used.
The DestImageBufId parameter specifies the identifier of the buffer in which to draw. This parameter must be given a valid image buffer identifier.
The XPos and YPos parameters specify the X and Y coordinates of the drawing position. The given coordinate is relative to the top-left corner of the specified target buffer. It should be valid in the specified image buffer; otherwise, nothing will be drawn.
See also