Exemple #1
0
 public static uint GDI__DIBSIZE(BITMAPINFOHEADER bi) => GDI_DIBWIDTHBYTES(bi) * (uint)bi.biHeight;
Exemple #2
0
 public static uint GDI_DIBSIZE(BITMAPINFOHEADER bi) => bi.biHeight < 0 ? unchecked ((uint)-1) * GDI__DIBSIZE(bi) : GDI__DIBSIZE(bi);
Exemple #3
0
 public static uint GDI_DIBWIDTHBYTES(BITMAPINFOHEADER bi) => GDI_WIDTHBYTES((uint)bi.biWidth * bi.biBitCount);