示例#1
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkIHDR pngChunkIHDR = (PngChunkIHDR)other;

            Cols       = pngChunkIHDR.Cols;
            Rows       = pngChunkIHDR.Rows;
            Bitspc     = pngChunkIHDR.Bitspc;
            Colormodel = pngChunkIHDR.Colormodel;
            Compmeth   = pngChunkIHDR.Compmeth;
            Filmeth    = pngChunkIHDR.Filmeth;
            Interlaced = pngChunkIHDR.Interlaced;
        }
示例#2
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkIHDR otherx = (PngChunkIHDR)other;

            Cols       = otherx.Cols;
            Rows       = otherx.Rows;
            Bitspc     = otherx.Bitspc;
            Colormodel = otherx.Colormodel;
            Compmeth   = otherx.Compmeth;
            Filmeth    = otherx.Filmeth;
            Interlaced = otherx.Interlaced;
        }
示例#3
0
        private void CloneData(PngChunkIHDR other)
        {
            if (other is null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }

            Cols       = other.Cols;
            Rows       = other.Rows;
            Bitspc     = other.Bitspc;
            Colormodel = other.Colormodel;
            Compmeth   = other.Compmeth;
            Filmeth    = other.Filmeth;
            Interlaced = other.Interlaced;
        }