示例#1
0
        private void PrintInfos(Point location)
        {
            if (_infoPrinters == null || _infoPrinters.Count == 0)
            {
                return;
            }
            Point prjPt = location;

            _coordTransfrom.PixelCoord2PrjCoord(ref prjPt);
            PointF geoPt = prjPt;

            _coordTransfrom.PrjCoord2GeoCoord(ref geoPt);
            foreach (IMouseLocationInfoPrinter printer in _infoPrinters)
            {
                printer.Print(this, location.X, location.Y, prjPt.X, prjPt.Y, geoPt.X, geoPt.Y);
            }
        }