Home
last modified time | relevance | path

Searched refs:DMAP (Results 1 – 2 of 2) sorted by relevance

/trunk/main/vcl/win/source/gdi/
H A Dsalgdi.cxx56 #define DMAP( _def_nVal, _def_nThres ) ((pDitherDiff[_def_nVal]>(_def_nThres))?pDitherHigh[_def_nVa… macro
1234 *pTmp++ = DMAP( nBlue, nThres ); in SetFillColor()
1235 *pTmp++ = DMAP( nGreen, nThres ); in SetFillColor()
1236 *pTmp++ = DMAP( nRed, nThres ); in SetFillColor()
1261 *pTmp = DMAP( nRed, nThres ) + DMAP( nGreen, nThres ) * 6 + DMAP( nBlue, nThres ) * 36; in SetFillColor()
/trunk/main/vcl/unx/generic/gdi/
H A Dsalgdi.cxx427 #define DMAP( v, m ) ((v % P_DELTA) > m ? (v / P_DELTA) + 1 : (v / P_DELTA)) macro
460 sal_uInt8 nR = P_DELTA * DMAP( nSalColorRed, nMagic ); in GetDitherPixmap()
461 sal_uInt8 nG = P_DELTA * DMAP( nSalColorGreen, nMagic ); in GetDitherPixmap()
462 sal_uInt8 nB = P_DELTA * DMAP( nSalColorBlue, nMagic ); in GetDitherPixmap()

Completed in 25 milliseconds