예제 #1
0
파일: Cell.cs 프로젝트: aikeru/neovim.cs
 public Cell(RenderProperties renderProperties)
 {
     this.RenderProps = renderProperties;
     this._text       = " ";
     this.TypeFace    = new Typeface(new FontFamily("Courier"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed);
     this.FontSize    = 12;
     this.Width       = this.FontSize;
     this.Height      = Math.Ceiling(this.FontSize * this.TypeFace.FontFamily.LineSpacing);
 }
예제 #2
0
파일: Cell.cs 프로젝트: aikeru/neovim.cs
 public Cell(RenderProperties renderProperties)
 {
     this.RenderProps = renderProperties;
     this._text = " ";
     this.TypeFace = new Typeface(new FontFamily("Courier"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed);
     this.FontSize = 12;
     this.Width = this.FontSize;
     this.Height = Math.Ceiling(this.FontSize * this.TypeFace.FontFamily.LineSpacing);
 }