![]() |
【转帖】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. |
| 所有的时间均为北京时间。 现在的时间是 02:32 PM. |