MgraClear()函数

Synopsis

Clear an image buffer.

Format

void MgraClear(GraphContId, DestImageBufId)

MIL_ID GraphContId; Graphics context identifier
MIL_ID DestImageBufId; Destination image buffer identifier

Description

This function clears the entire specified buffer to 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 to clear. This parameter must be given a valid image buffer identifier.

See also

MgraColor, MbufClear

《MgraClear()函数》上有1条评论

评论已关闭。