FontStyle* FontManager::GetStyleByIndex(uint16 familyID, int32 index) { FontFamily* family = GetFamily(familyID); if (family != NULL) return family->StyleAt(index); return NULL; }
FontStyle* FontManager::GetStyleByIndex(const char* familyName, int32 index) { FontFamily* family = GetFamily(familyName); if (family != NULL) return family->StyleAt(index); return NULL; }