GXPatB
void GXPatB(CDC* pDC, int x, int y, int dx, int dy, COLORREF rgb);
void GXPatB(CDC* pDC,const CRect& rc, COLORREF rgb);
pDC
Points to the device context.
x
x-coordinate.
y
y-coordinate.
dx
Width.
dy
Height.
rgb
Color.
rc
Rectangle to be drawn.
Remarks
Draws an area with the specified color. The device context’s attributes remain unchanged.