コード例 #1
0
 public FontState(
     PdfFontInfo fontInfo,
     string fontFamily,
     string fontStyle,
     string fontWeight,
     int fontSize,
     int letterSpacing)
     : this(fontInfo, fontFamily, fontStyle, fontWeight, fontSize)
 {
     this.int_2 = letterSpacing;
 }
コード例 #2
0
 public FontState(
     PdfFontInfo fontInfo,
     string fontFamily,
     string fontStyle,
     string fontWeight,
     int fontSize)
 {
     this.pdfFontInfo_0 = fontInfo;
     this.string_1      = fontFamily;
     this.string_2      = fontStyle;
     this.string_3      = fontWeight;
     this.int_0         = fontSize;
     this.string_0      = fontInfo.FontLookup(fontFamily, fontStyle, fontWeight);
     this.ifontMetric_0 = fontInfo.GetMetricsFor(this.string_0);
     this.int_1         = 52;
     this.int_2         = 0;
 }
コード例 #3
0
ファイル: PdfFontInfo.cs プロジェクト: 15831944/WW
 private bool method_0(string family, string style, string weight)
 {
     return(this.idictionary_1.ContainsKey(PdfFontInfo.CreateFontKey(family, style, weight)));
 }
コード例 #4
0
ファイル: PdfFontInfo.cs プロジェクト: 15831944/WW
 public string FontLookup(string family, string style, string weight)
 {
     return(this.FontLookup(PdfFontInfo.CreateFontKey(family, style, weight)));
 }
コード例 #5
0
ファイル: PdfFontInfo.cs プロジェクト: 15831944/WW
 public void AddFontProperties(string name, string family, string style, string weight)
 {
     this.idictionary_1.Add(PdfFontInfo.CreateFontKey(family, style, weight), name);
 }
コード例 #6
0
 public FontSetup(PdfFontInfo fontInfo, FontType proxyFontType)
 {
     this.pdfFontInfo_0 = fontInfo;
     this.method_1();
     this.method_0(proxyFontType);
 }