高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|