MgraText()函数

Synopsis

Write text.

Format

void MgraText(GraphContId, DestImageBufId, XStart, YStart, String)

MIL_ID GraphContId; Graphics context identifier
MIL_ID DestImageBufId; Destination image buffer identifier
long XStart; X-coordinate of writing position
long YStart; Y-coordinate of writing position
char *String; Null terminated ASCII string

继续阅读MgraText()函数

MgraRectFill()函数

Synopsis

Draw a filled rectangle.

Format

void MgraRectFill(GraphContId, DestImageBufId, XStart, YStart, XEnd, YEnd)

MIL_ID GraphContId; Graphics context identifier
MIL_ID DestImageBufId; Destination image buffer identifier
long XStart; X-coordinate of top-left rectangle corner
long YStart; Y-coordinate of top-left rectangle corner
long XEnd; X-coordinate of bottom-right rectangle corner
long YEnd; Y-coordinate of bottom-right rectangle corner

继续阅读MgraRectFill()函数

MgraRect()函数

Synopsis

Draw a rectangle.

Format

void MgraRect(GraphContId, DestImageBufId, XStart, YStart, XEnd, YEnd)

MIL_ID GraphContId; Graphics context identifier
MIL_ID DestImageBufId; Destination image buffer identifier
long XStart; X-coordinate of top-left rectangle corner
long YStart; Y-coordinate of top-left rectangle corner
long XEnd; X-coordinate of bottom-right rectangle corner
long YEnd; Y-coordinate of bottom-right rectangle corner

继续阅读MgraRect()函数

MgraLine()函数

Synopsis

Draw a line.

Format

void MgraLine(GraphcontId, DestImageBufId, XStart, YStart, XEnd, YEnd)

MIL_ID GraphContId;

Graphics context identifier

MIL_ID DestImageBufId;

Destination image buffer identifier

long XStart;

X-coordinate of start of line position

long YStart;

Y-coordinate of start of line position

long XEnd;

X-coordinate of end of line position

long YEnd;

Y-coordinate of end of line position

继续阅读MgraLine()函数

MgraFill()函数

Synopsis

Perform a boundary-type seed fill.

Format

void MgraFill(GraphContId, DestImageBufId, XStart, YStart)

MIL_ID GraphContId; Graphics context identifier
MIL_ID DestImageBufId; Destination image buffer identifier
long XStart; X-coordinate of seed position
long YStart; Y-coordinate of seed position

继续阅读MgraFill()函数