Example #1
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkPHYS pngChunkPHYS = (PngChunkPHYS)other;

            PixelsxUnitX = pngChunkPHYS.PixelsxUnitX;
            PixelsxUnitY = pngChunkPHYS.PixelsxUnitY;
            Units        = pngChunkPHYS.Units;
        }
Example #2
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkPHYS otherx = (PngChunkPHYS)other;

            this.PixelsxUnitX = otherx.PixelsxUnitX;
            this.PixelsxUnitY = otherx.PixelsxUnitY;
            this.Units        = otherx.Units;
        }
Example #3
0
        private void CloneData(PngChunkPHYS other)
        {
            if (other is null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }

            PixelsxUnitX = other.PixelsxUnitX;
            PixelsxUnitY = other.PixelsxUnitY;
            Units        = other.Units;
        }