SetDrawStyle
Sets style of a figure to be drawn
SetDrawStyle <style>, <width>, <color>
Parameters
<style>
|
Style of the figure to be drawn
|
<width>
|
Line width of the figure to be drawn
|
<color>
|
Color of the figure to be drawn
|
Return Value
None.
Description
Sets style of a figure to be drawn by draw figure command(DrawPoint, DrawLine and so on) in image display window.
Performs DrawTextG command after this command, display characrter string with style specified of this command.
Style of the figure is specified by the argument <style>, The value that can be specified is as follows.
PS_SOLID Solid
PS_DASH Dash
PS_DOT Dot
PS_DASHDOT Dash dot
PS_DASHDOTDOT Dash dot dot
PS_NULL Null
PS_INSIDEFRAME Inside frame
///If in the Windows CE, specified PS_DASHDOT and PS_DASHDOTDOT is the same as PS_DASH, specified PS_INSIDEFRAME is the same as PS_SOLID.
If the argument <width> is larger than 1, PS_DASH, PS_DOT, PS_DASHDOT and PS_DASHDOTDOT is specified the same as PS_SOLID.
The argument <width> specifies line width. If 0 is specified, line width will be 1 pix.
Color of the figure is specified by the argument <color>, The value that can be specified is as follows.
JUDGE_NC Gray
JUDGE_OK OK color(Green)
JUDGE_NG NG color(Red)
It makes an error(Illegal function call) when performing it not in the *MeasureDispG subroutine.
Notes