3 writes to bitDepth
System.Drawing (3)
commonui\System\Drawing\Icon.cs (3)
629bitDepth = UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, dc), SafeNativeMethods.BITSPIXEL); 630bitDepth *= UnsafeNativeMethods.GetDeviceCaps(new HandleRef(null, dc), SafeNativeMethods.PLANES); 637if (bitDepth == 8) bitDepth = 4;
4 references to bitDepth
System.Drawing (4)
commonui\System\Drawing\Icon.cs (4)
627if (bitDepth == 0) { 637if (bitDepth == 8) bitDepth = 4; 718(thisDelta == bestDelta && (iconBitDepth <= bitDepth && iconBitDepth > bestBitDepth || bestBitDepth > bitDepth && iconBitDepth < bestBitDepth)))