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