Lines Matching refs:nGreen
237 BYTE nRed, nGreen, nBlue; in ImplInitSalGDI() local
257 for( nG=0, nGreen=0; nG < DITHER_PAL_STEPS; nG++, nGreen += DITHER_PAL_DELTA ) in ImplInitSalGDI()
262 pPalEntry->peGreen = nGreen; 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()
413 aImplExtraColor1.peGreen == nGreen && in ImplIsPaletteEntry()
1194 BYTE nGreen = SALCOLOR_GREEN( nSalColor ); in SetFillColor() local
1196 COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue ); in SetFillColor()
1235 *pTmp++ = DMAP( nGreen, 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()