Exemplo n.º 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];
 }
Exemplo n.º 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];
 }