I need your help!
procedure skinImgSetSrcPoint(var _img: TImage; _p: TPoint);
var _l : longint;
begin
_l := ((_p.x and $FFF) shl 20) + ((_p.y and $FFF) shl 8);
_img.Tag := (_img.Tag and $FF) + _l;
end;
// -------------------------------------------------------------------
function skinImgGetSrcPoint(_img: TImage): TPoint;
begin
Result.x := (_img.Tag shr 20) and $FFF;
Result.y := (_img.Tag shr 8) and $FFF;
end;
谁能告诉我,第二个函数得到了怎么样的坐标?Timage.Tag 到底有什么用,是怎么用的?
在下万分感激 !