Lines Matching refs:nInt
405 int nInt = WEIGHT_NORMAL; in CTFontEnumCallBack() local
407 nInt = rint(WEIGHT_NORMAL + fWeight * ((WEIGHT_BLACK - WEIGHT_NORMAL)/0.68)); in CTFontEnumCallBack()
408 if( nInt > WEIGHT_BLACK ) in CTFontEnumCallBack()
409 nInt = WEIGHT_BLACK; in CTFontEnumCallBack()
411 nInt = rint(WEIGHT_NORMAL + fWeight * ((WEIGHT_NORMAL - WEIGHT_THIN)/0.9)); in CTFontEnumCallBack()
412 if( nInt < WEIGHT_THIN ) in CTFontEnumCallBack()
413 nInt = WEIGHT_THIN; in CTFontEnumCallBack()
415 rDFA.meWeight = (FontWeight)nInt; in CTFontEnumCallBack()
428 nInt = WIDTH_NORMAL; in CTFontEnumCallBack()
430 nInt = rint( WIDTH_NORMAL + fWidth * ((WIDTH_ULTRA_EXPANDED - WIDTH_NORMAL)/0.4)); in CTFontEnumCallBack()
431 if( nInt > WIDTH_ULTRA_EXPANDED ) in CTFontEnumCallBack()
432 nInt = WIDTH_ULTRA_EXPANDED; in CTFontEnumCallBack()
434 nInt = rint( WIDTH_NORMAL + fWidth * ((WIDTH_NORMAL - WIDTH_ULTRA_CONDENSED)/0.5)); in CTFontEnumCallBack()
435 if( nInt < WIDTH_ULTRA_CONDENSED ) in CTFontEnumCallBack()
436 nInt = WIDTH_ULTRA_CONDENSED; in CTFontEnumCallBack()
438 rDFA.meWidthType = (FontWidth)nInt; in CTFontEnumCallBack()