public DisplaySetting(int display, SegmentType segmentType, RasterizeStyleDefinition styleDef, int numChars, int numLines) { Display = display; SegmentType = segmentType; NumChars = numChars; NumLines = numLines; StyleDefinition = styleDef; }
public void UpdateStyle(RasterizeStyleDefinition styleDef) { DisplaySetting.ApplyStyle(styleDef); Res.Rasterize(DisplaySetting, true); }
public static VirtualAlphanumericDestination GetInstance(Dispatcher dispatcher, RasterizeStyleDefinition styleDef, Configuration config) { return(_instance ?? (_instance = new VirtualAlphanumericDestination(dispatcher, styleDef, config))); }
private VirtualAlphanumericDestination(Dispatcher dispatcher, RasterizeStyleDefinition styleDef, Configuration config) { _dispatcher = dispatcher; _styleDef = styleDef; _config = config; }
public void ApplyStyle(RasterizeStyleDefinition styleDef) { StyleDefinition = styleDef; Style = StyleDefinition.Scale(Dim.SvgScale); }