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