曾
曾阿牛
Unregistered / Unconfirmed
GUEST, unregistred user!
FromR := Brush.Color and $000000ff;
FromG := (Brush.Color shr 8) and $000000ff;
FromB := (Brush.Color shr 16) and $000000ff;
DiffR := (clwhite and $000000ff) - FromR;
DiffG := ((clwhite shr 8) and $000000ff) - FromG;
DiffB := ((clwhite shr 16) and $000000ff) - FromB;
这是我在大富翁上面搜到的一段代码!
上面这段代码可否解释一下!
FromG := (Brush.Color shr 8) and $000000ff;
FromB := (Brush.Color shr 16) and $000000ff;
DiffR := (clwhite and $000000ff) - FromR;
DiffG := ((clwhite shr 8) and $000000ff) - FromG;
DiffB := ((clwhite shr 16) and $000000ff) - FromB;
这是我在大富翁上面搜到的一段代码!
上面这段代码可否解释一下!