Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:DesktopSprites.Interop.Win32.BITMAPINFO"/> structure.
 /// </summary>
 /// <param name="header">A BITMAPINFOHEADER structure that contains information about the dimensions of color format.</param>
 public BITMAPINFO(BITMAPINFOHEADER header)
 {
     bmiHeader = header;
     bmiColors = new RGBQUAD[1];
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:DesktopSprites.Interop.Win32.BITMAPINFO"/> structure.
 /// </summary>
 /// <param name="header">A BITMAPINFOHEADER structure that contains information about the dimensions of color format.</param>
 public BITMAPINFO(BITMAPINFOHEADER header)
 {
     bmiHeader = header;
     bmiColors = new RGBQUAD[1];
 }