Esempio n. 1
0
        public MercatorMapRender(Func <Size> controlSizeGetter, DisplaySetting displaySetting, PointD center, double scale)
            : base(controlSizeGetter)
        {
            _setting    = displaySetting.ToS52DisplaySetting();
            this.Center = center;
            this.Scale  = scale;

            _painter = new PiecePainter(_fileMgr, 1, _setting);
        }
Esempio n. 2
0
        private MercatorMapRender(Func <Size> controlSizeGetter)
            : base(controlSizeGetter)
        {
            _setting = new S52DisplaySetting()
            {
                Palette = SeeCool.ECDIS.S52.ColorSchema.Day, ShowScaleBar = true, ShowCompass = true, ShowGrid = false
            };
            this.Center = DefaultCenter;
            this.Scale  = DefaultScale;



            _painter = new PiecePainter(_fileMgr, 1, _setting);
        }
Esempio n. 3
0
 public void UpdateCleats(DisplaySetting displaySetting)
 {
     _setting = displaySetting.ToS52DisplaySetting();
     _painter = new PiecePainter(_fileMgr, 1, _setting);
 }