查看单个帖子
旧 2009-05-04, 04:44 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】blackwhite color setting in dwgdirect 2.1.0

black/white color setting in dwgdirect 2.1.0
black/white color setting in dwgdirect 2.1.0
hi everyone!
static odcolorref color [256];
zeromemory (&color, sizeof (odcolorref)*256);
m_pdevice->setlogicalpalette ((odcolorref * )&color, 256);
m_pdevice->setbackgroundcolor(odrgb(255,255,255));
there is no way to get bw color using dwgdirect 2.1.0
how did you solve this problem?
thanks.
if any un-clear, please let me know.
thank you and best regards,
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)