Home
last modified time | relevance | path

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

/aoo4110/main/sw/source/filter/ww8/
H A Dww8graf.cxx113 Color WW8TransCol(SVBT32 nWC) in WW8TransCol() argument
139 if( !( nWC[3] & 0x1 ) && // keine Spezial-Farbe (grau) in WW8TransCol()
140 ( ( nWC[0] == 0 || nWC[0]== 0x80 || nWC[0] == 0xff ) // R-Anteil in WW8TransCol()
141 && ( nWC[1] == 0 || nWC[1]== 0x80 || nWC[1] == 0xff ) // G-Anteil in WW8TransCol()
142 && ( nWC[2] == 0 || nWC[2]== 0x80 || nWC[2] == 0xff ) ) ){// B-Anteil in WW8TransCol()
147 if (nWC[i]) in WW8TransCol()
148 nIdx += ((nWC[i] == 0xff) ? 2 : 1); in WW8TransCol()
155 if (nWC[3] & 0x1) in WW8TransCol()
158 sal_uInt8 u = (sal_uInt8)( (sal_uLong)( 200 - nWC[0] ) * 256 / 200 ); in WW8TransCol()
163 return Color(nWC[0], nWC[1], nWC[2]); in WW8TransCol()

Completed in 53 milliseconds