K kisse Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-08 #1 如何取得某种颜色的反色?如当前image1.canvas.color := clred; 那么红色的反色怎么取?有这样的函数吗?
H hfghfghfg Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-08 #2 color:=$ffffff- ColorToRGB(color) ; //瞎猜的
H hfghfghfg Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-08 #3 color:=rgb( 255-GetRValue( ColorToRGB(color)), 255-GetGValue( ColorToRGB(color)), 255-GetBValue( ColorToRGB(color)) ); //还是瞎猜的
color:=rgb( 255-GetRValue( ColorToRGB(color)), 255-GetGValue( ColorToRGB(color)), 255-GetBValue( ColorToRGB(color)) ); //还是瞎猜的
P pandababy Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-08 #4 ListBox1.Color:=$ffffff-ColorToRGB(clred); 就OK了
H hfghfghfg Unregistered / Unconfirmed GUEST, unregistred user! 2003-07-08 #5 “所谓的反色无非就是255-R,255-G,255-B”——卷起千堆雪tyn //看来我的第二种写法是对的