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); }
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); }
public void UpdateCleats(DisplaySetting displaySetting) { _setting = displaySetting.ToS52DisplaySetting(); _painter = new PiecePainter(_fileMgr, 1, _setting); }