Exemplo n.º 1
0
 public XMLFont(string name, float emSize, XMLFontStyle style, XMLGraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)
 {
     this.name            = name;
     this.size            = emSize;
     this.style           = style;
     this.unit            = unit;
     this.gdiCharSet      = gdiCharSet;
     this.gdiVerticalFont = gdiVerticalFont;
 }
Exemplo n.º 2
0
 public static GraphicsUnit ToNET(XMLGraphicsUnit unit)
 {
     return((GraphicsUnit)Convert.ToInt32(unit));
 }