NSFontTraitMask fontStyle = 0; if (m_bBold) fontStyle |= NSBoldFontMask; if (m_bItalic) fontStyle |= NSItalicFontMask; NSFontManager* fontManager = [NSFontManager sharedFontManager]; NSFont* font = [fontManager fontWithFamily:@"Helvetica" traits:fontStyle weight:5 size:12];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)