コード例 #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
ファイル: PngChunkIHDR.cs プロジェクト: Chapmania/Juniper
        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;
        }