5.getfillstyle
这个函数用于获取当前设备填充样式。
void getfillstyle(
FILLSTYLE* pstyle
);
参数
pstyle
返回当前设备填充样式。详见 setfillstyle。
6.getlinecolor
这个函数用于获取当前设备画线颜色。
COLORREF getlinecolor();
返回值
返回当前设备画线颜色。
请参阅
setlinecolor,getlinestyle,setlinestyle
7.getlinestyle
这个函数用于获取当前设备画线样式。
void getlinestyle(
LINESTYLE* pstyle
);
参数
pstyle
返回当前设备画线样式。详见 setlinestyle。
8.getpolyfillmode
这个函数用于获取当前设备多边形填充模式。
int getpolyfillmode();
返回值
如果函数执行成功,返回值表示当前设备多边形填充模式,值为 ALTERNATE 或 WINDING,详见 setpolyfillmode 函数的参数。如果函数执行失败,返回值为 0。
今天的内容就是这样,下期再见!