Exemplo n.º 1
0
 public ImageDataFormat(
     string name,
     string description,
     int bitsPerPixel,
     int alphaDepth,
     int blockWidth,
     int blockHeight,
     int blockStride,
     bool hasColour,
     bool isCompressed,
     bool lossyCompression,
     bool palette,
     int paletteSize,
     int paletteBitsPerEntry,
     ConvertBlockDelegate convertTo,
     ConvertBlockDelegate convertFrom)
 {
     this.Name                = name;
     this.Description         = description;
     this.BitsPerPixel        = bitsPerPixel;
     this.AlphaDepth          = alphaDepth;
     this.BlockWidth          = blockWidth;
     this.BlockHeight         = blockHeight;
     this.BlockStride         = blockStride;
     this.HasColour           = hasColour;
     this.IsCompressed        = isCompressed;
     this.Palette             = palette;
     this.PaletteSize         = paletteSize;
     this.PaletteBitsPerEntry = paletteBitsPerEntry;
     this._convertTo          = convertTo;
     this._convertFrom        = convertFrom;
 }
Exemplo n.º 2
0
 public ImageDataFormat(string name, string description, int bitsPerPixel, int alphaDepth, int blockWidth, int blockHeight, int blockStride, bool hasColour, bool isCompressed, bool lossyCompression, bool palette, int paletteSize, int paletteBitsPerEntry, ConvertBlockDelegate convertTo, ConvertBlockDelegate convertFrom)
 {
     Name = name;
     Description = description;
     BitsPerPixel = bitsPerPixel;
     AlphaDepth = alphaDepth;
     BlockWidth = blockWidth;
     BlockHeight = blockHeight;
     BlockStride = blockStride;
     HasColour = hasColour;
     IsCompressed = isCompressed;
     Palette = palette;
     PaletteSize = paletteSize;
     PaletteBitsPerEntry = paletteBitsPerEntry;
     _convertTo = convertTo;
     _convertFrom = convertFrom;
 }