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

color index problem
color index problem
hi.
i have a color problem.
i am using layer->setcolorindex(indexcolor) and indexcolor can set to 0.
what is it the range values to indexcolor?
thank you.
quote:
what is it the range values to indexcolor?
the color index must be between 1 and 256 (inclusive), iirc.
code:
0 < colorindex < 257
for drawing entities,
code:
0 <= colorindex <= 256
where 0 = byblock and 256 = bylayer
for layers, colors of byblock and bylayer are not allowed, so
code:
0 < colorindex < 256
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)