Lines Matching refs:nRed
237 BYTE nRed, nGreen, nBlue; in ImplInitSalGDI() local
259 for( nR=0, nRed=0; nR < DITHER_PAL_STEPS; nR++, nRed += DITHER_PAL_DELTA ) in ImplInitSalGDI()
261 pPalEntry->peRed = nRed; in ImplInitSalGDI()
396 static int ImplIsPaletteEntry( BYTE nRed, BYTE nGreen, BYTE nBlue ) in ImplIsPaletteEntry() argument
399 if ( !(nRed % DITHER_PAL_DELTA) && !(nGreen % DITHER_PAL_DELTA) && !(nBlue % DITHER_PAL_DELTA) ) in ImplIsPaletteEntry()
407 if( pPalEntry->peRed == nRed && pPalEntry->peGreen == nGreen && pPalEntry->peBlue == nBlue ) in ImplIsPaletteEntry()
412 if ( aImplExtraColor1.peRed == nRed && in ImplIsPaletteEntry()
1193 BYTE nRed = SALCOLOR_RED( nSalColor ); in SetFillColor() local
1196 COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue ); in SetFillColor()
1236 *pTmp++ = DMAP( nRed, nThres ); in SetFillColor()
1247 else if ( ImplIsPaletteEntry( nRed, nGreen, nBlue ) ) in SetFillColor()
1261 *pTmp = DMAP( nRed, nThres ) + DMAP( nGreen, nThres ) * 6 + DMAP( nBlue, nThres ) * 36; in SetFillColor()