![]() |
【转帖】如何由colorindex获得rgb值?
如何由colorindex获得rgb值?
如何由colorindex获得rgb值? 由于需要由colorindex来获得rgb值,目前的思路是将其index赋给一个accmcolor对象,然后根据该类的一个color函数的返回值获得rgb值,但是看到该函数的解释,把我看昏了,不知道如何处理了。 this function returns color value and color method. low byte is blue; the second byte is green; and the third byte is red. high byte is color method. 请教高手,来帮我分离出rgb值。。。 有相应的属性,直接取就完了 accmcolor::red accmcolor::blue accmcolor::green |
| 所有的时间均为北京时间。 现在的时间是 08:56 PM. |