public static FontHandle CreateFont( int height, int width, int escapement, int orientation, FontWeight weight, bool italic, bool underline, bool strikeout, CharacterSet characterSet, OutputPrecision outputPrecision, ClippingPrecision clippingPrecision, Quality quality, FontPitch pitch, FontFamily family, string typeface) => GdiMethods.CreateFont( height, width, escapement, orientation, weight, italic, underline, strikeout, characterSet, outputPrecision, clippingPrecision, quality, pitch, family, typeface);
public static FontHandle CreateFont( int height, int width, int escapement, int orientation, FontWeight weight, bool italic, bool underline, bool strikeout, CharacterSet characterSet, OutputPrecision outputPrecision, ClippingPrecision clippingPrecision, Quality quality, FontPitch pitch, FontFamily family, string typeface) { return(Imports.CreateFontW(height, width, escapement, orientation, weight, italic, underline, strikeout, (uint)characterSet, (uint)outputPrecision, (uint)clippingPrecision, (uint)quality, (uint)((byte)pitch | (byte)family), typeface)); }