Home
last modified time | relevance | path

Searched refs:nWC (Results 1 – 1 of 1) sorted by last modified time

/trunk/main/sw/source/filter/ww8/
H A Dww8graf.cxx110 Color WW8TransCol(SVBT32 nWC) in WW8TransCol() argument
136 if( !( nWC[3] & 0x1 ) && // keine Spezial-Farbe (grau) in WW8TransCol()
137 ( ( nWC[0] == 0 || nWC[0]== 0x80 || nWC[0] == 0xff ) // R-Anteil in WW8TransCol()
138 && ( nWC[1] == 0 || nWC[1]== 0x80 || nWC[1] == 0xff ) // G-Anteil in WW8TransCol()
139 && ( nWC[2] == 0 || nWC[2]== 0x80 || nWC[2] == 0xff ) ) ){// B-Anteil in WW8TransCol()
144 if (nWC[i]) in WW8TransCol()
145 nIdx += ((nWC[i] == 0xff) ? 2 : 1); in WW8TransCol()
152 if (nWC[3] & 0x1) in WW8TransCol()
155 sal_uInt8 u = (sal_uInt8)( (sal_uLong)( 200 - nWC[0] ) * 256 / 200 ); in WW8TransCol()
160 return Color(nWC[0], nWC[1], nWC[2]); in WW8TransCol()

Completed in 29 milliseconds