Gbkmode mode, Gsetbkcolor r g b, Grect xl yt xr yb – Sensoray 2224 Windows User Manual
Page 89: Grrect xl yt xr yb w h
gbkmode mode
This is a simple wrapper function for the Windows SetBkMode () function.
Valid values for mode:
1=TRANSPARENT
2=OPAQUE
gsetbkcolor r g b
This is a simple wrapper function for the Windows SetBkColor () function. It also sets a global default
value for subsequent calls to gopen.
Valid values for the color are:
r = red. Valid values are 0-255.
g = green. Valid values are 0-255.
b = blue. Valid values are 0-255.
grect xL yT xR yB
This is a simple wrapper function for the Windows Rectangle () function.
Arguments:
xL = Horizontal coordinate for the top left pixel of text in device context / bitmap
yT = Vertical coordinate for the top left pixel of text in device context / bitmap
xR = Horizontal coordinate for the bottom right pixel of text in device context / bitmap plus one.
YB = Vertical coordinate for the bottom right pixel of text in device context / bitmap plus one.
grrect xL yT xR yB w h
This is a simple wrapper function for the Windows RoundRect () function.
Arguments:
xL = Horizontal coordinate for the top left pixel of text in device context / bitmap
yT = Vertical coordinate for the top left pixel of text in device context / bitmap
xR = Horizontal coordinate for the bottom right pixel of text in device context / bitmap plus one.
YB = Vertical coordinate for the bottom right pixel of text in device context / bitmap plus one.
w = Round corners in horizontal direction by this amount.
H = Round corners in vertical direction by this amount.
89