//LatticeSize单元格
//控件 hscrollBar vScrollBar
int absX = (baseItem.x - this.hScrollBar1.Value) * LatticeSize.Width;
int absY = (baseItem.y - this.vScrollBar1.Value) * LatticeSize.Height;
将九宫格的坐标转换成像素的坐标
最新推荐文章于 2024-01-02 16:03:20 发布
//LatticeSize单元格
//控件 hscrollBar vScrollBar
int absX = (baseItem.x - this.hScrollBar1.Value) * LatticeSize.Width;
int absY = (baseItem.y - this.vScrollBar1.Value) * LatticeSize.Height;