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

odcmentitycolor lookuprgb problem
odcmentitycolor lookuprgb problem
hi
i tried to llok upp all the indexed color with the following code
code:
for(int i=0; i<255; i++){
std::cout<<"\ncolor: "<<i<<" ("<<(unsigned int)odcmentitycolor::mlut[i][0]<<", "<<(unsigned int)odcmentitycolor::mlut[i][1]<<", "<<(unsigned int)odcmentitycolor::mlut[i][2];
}
it is printing the values as expected.
later i visit the autocad link
different autocad and dwf viewer versions use slightly different palettes.
sergey slezkin
thanks sergey
the value that opendesign is returning matches with the autocads implementation but it doesnot match with that document autodesk is publishing...
anyway i got the solution of the problem..
thanks.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)