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; }
public static GraphicsUnit ToNET(XMLGraphicsUnit unit) { return((GraphicsUnit)Convert.ToInt32(unit)); }