public ExportRouteGadget(SymbolDB symbolDB, EventDB eventDB, MapDisplay mapDisplay) { this.symbolDB = symbolDB; this.eventDB = eventDB; this.mapDisplay = mapDisplay.CloneToFullIntensity(); this.mapDisplay.SetCourse(null); this.mapDisplay.SetPrintArea(null); }
public ExportRouteGadget(SymbolDB symbolDB, EventDB eventDB, Controller controller, MapDisplay mapDisplay) { this.symbolDB = symbolDB; this.eventDB = eventDB; this.controller = controller; this.mapDisplay = mapDisplay.CloneToFullIntensity(); this.mapDisplay.SetCourse(null); this.mapDisplay.SetPrintArea(null); this.mapDisplay.ColorModel = ColorModel.CMYK; }
// mapDisplay is a MapDisplay that contains the correct map. All other features of the map display need to be customized. public BitmapCreation(EventDB eventDB, SymbolDB symbolDB, Controller controller, MapDisplay mapDisplay, BitmapCreationSettings bitmapCreationSettings, CourseAppearance appearance) { this.eventDB = eventDB; this.symbolDB = symbolDB; this.controller = controller; this.mapDisplay = mapDisplay.CloneToFullIntensity(); this.bitmapCreationSettings = bitmapCreationSettings; this.appearance = appearance; // Set default features for creating bitmaps. this.mapDisplay.MapIntensity = 1.0F; this.mapDisplay.AntiAlias = true; this.mapDisplay.ColorModel = bitmapCreationSettings.ColorModel; }