Exemplo n.º 1
0
 public LOGFONT(LOGFONT lf)
 {
     lfHeight         = lf.lfHeight;
     lfWidth          = lf.lfWidth;
     lfEscapement     = lf.lfEscapement;
     lfOrientation    = lf.lfOrientation;
     lfWeight         = lf.lfWeight;
     lfItalic         = lf.lfItalic;
     lfUnderline      = lf.lfUnderline;
     lfStrikeOut      = lf.lfStrikeOut;
     lfCharSet        = lf.lfCharSet;
     lfOutPrecision   = lf.lfOutPrecision;
     lfClipPrecision  = lf.lfClipPrecision;
     lfQuality        = lf.lfQuality;
     lfPitchAndFamily = lf.lfPitchAndFamily;
     lfFaceName       = lf.lfFaceName;
 }
 public static extern HResult GetThemeSysFont(SafeThemeHandle hTheme, int iFontID, [Out] LOGFONT pFont);
 public static extern HResult GetThemeFont(SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, [Out] LOGFONT pFont);
 public static extern int GetThemeFont(HandleRef hTheme, HandleRef hdc, int iPartId, int iStateId, int iPropId, LOGFONT pFont);