Ejemplo n.º 1
0
 public FontMetrics(decimal afmVersion, IReadOnlyList <string> comments, int metricSets, string fontName, string fullName, string familyName, string weight, PdfRectangle boundingBox, string version, string notice, string encodingScheme, int mappingScheme, int escapeCharacter, string characterSet, int characters, bool isBaseFont, PdfVector vVector, bool isFixedV, decimal capHeight, decimal xHeight, decimal ascender, decimal descender, decimal underlinePosition, decimal underlineThickness, decimal italicAngle, CharacterWidth characterWidth, decimal horizontalStemWidth, decimal verticalStemWidth, IReadOnlyDictionary <string, IndividualCharacterMetric> characterMetrics)
 {
     AfmVersion          = afmVersion;
     Comments            = comments;
     MetricSets          = metricSets;
     FontName            = fontName;
     FullName            = fullName;
     FamilyName          = familyName;
     Weight              = weight;
     BoundingBox         = boundingBox;
     Version             = version;
     Notice              = notice;
     EncodingScheme      = encodingScheme;
     MappingScheme       = mappingScheme;
     EscapeCharacter     = escapeCharacter;
     CharacterSet        = characterSet;
     Characters          = characters;
     IsBaseFont          = isBaseFont;
     VVector             = vVector;
     IsFixedV            = isFixedV;
     CapHeight           = capHeight;
     XHeight             = xHeight;
     Ascender            = ascender;
     Descender           = descender;
     UnderlinePosition   = underlinePosition;
     UnderlineThickness  = underlineThickness;
     ItalicAngle         = italicAngle;
     CharacterWidth      = characterWidth;
     HorizontalStemWidth = horizontalStemWidth;
     VerticalStemWidth   = verticalStemWidth;
     CharacterMetrics    = characterMetrics;
 }
Ejemplo n.º 2
0
 public void SetCharacterWidth(decimal x, decimal y)
 {
     CharacterWidth = new CharacterWidth(x, y);
 }