示例#1
0
 public static extern IntPtr CreateFont(int nHeight, int nWidth, int nEscapement, int nOrientation, FW fnWeight,
                                        [MarshalAs(UnmanagedType.Bool)] bool fdwItalic, [MarshalAs(UnmanagedType.Bool)] bool fdwUnderline,
                                        [MarshalAs(UnmanagedType.Bool)] bool fdwStrikeOut, CHARSET fdwCharSet, OUTPRECIS fdwOutputPrecision,
                                        CLIP fdwClipPrecision, QUALITY fdwQuality, PITCH_FF fdwPitchAndFamily, string lpszFace);
示例#2
0
 public static extern IntPtr CreateFont(int nHeight, int nWidth, int nEscapement, int nOrientation, FW fnWeight,
     [MarshalAs(UnmanagedType.Bool)] bool fdwItalic, [MarshalAs(UnmanagedType.Bool)] bool fdwUnderline,
     [MarshalAs(UnmanagedType.Bool)] bool fdwStrikeOut, CHARSET fdwCharSet, OUTPRECIS fdwOutputPrecision,
     CLIP fdwClipPrecision, QUALITY fdwQuality, PITCH_FF fdwPitchAndFamily, string lpszFace);