Home | History | Annotate | Download | only in gdi

Lines Matching refs:cColorBits

121     pwfb->cColorBits = GetDeviceCaps(hDC, BITSPIXEL);
124 assert(pwfb->cColorBits == 0 ||
125 pwfb->cColorBits == 16 ||
126 pwfb->cColorBits == 24 ||
127 pwfb->cColorBits == 32);
129 switch(pwfb->cColorBits){
168 pwfb->cColorBits = pbmi->bmiHeader.biBitCount;
169 pwfb->ScanWidth = (lxSize * (pwfb->cColorBits / 8) + 3) & ~3;
289 UINT bytesPerPixel = pwfb->cColorBits / 8;