Пример #1
0
        private static Command ReadColorModel(MetafileReader reader, CommandHeader commandHeader)
        {
            var colorModel = MetafileDescriptorReader.ColorModelCommand(reader, commandHeader);

            reader.Descriptor.ColorModel = colorModel.ColorModel;
            return(colorModel);
        }
Пример #2
0
        private static Command ReadNamePrecision(MetafileReader reader, CommandHeader commandHeader)
        {
            var namePrecision = MetafileDescriptorReader.NamePrecision(reader, commandHeader);

            reader.Descriptor.NamePrecision = namePrecision.Precision;
            return(namePrecision);
        }
Пример #3
0
        private static Command ReadColorIndexPrecision(MetafileReader reader, CommandHeader commandHeader)
        {
            var colorIndexPrecision = MetafileDescriptorReader.ColorIndexPrecision(reader, commandHeader);

            reader.Descriptor.ColorIndexPrecision = colorIndexPrecision.Precision;
            return(colorIndexPrecision);
        }
Пример #4
0
        private static Command ReadIndexPrecision(MetafileReader reader, CommandHeader commandHeader)
        {
            var indexPrecision = MetafileDescriptorReader.IndexPrecision(reader, commandHeader);

            reader.Descriptor.IndexPrecision = indexPrecision.Precision;
            return(indexPrecision);
        }
Пример #5
0
        private static Command ReadRealPrecision(MetafileReader reader, CommandHeader commandHeader)
        {
            var realPrecision = MetafileDescriptorReader.RealPrecision(reader, commandHeader);

            reader.Descriptor.RealPrecision = realPrecision.Specification;
            return(realPrecision);
        }
Пример #6
0
        private static Command ReadVdcType(MetafileReader reader, CommandHeader commandHeader)
        {
            var vdcType = MetafileDescriptorReader.VdcType(reader, commandHeader);

            reader.Descriptor.VdcType = vdcType.Specification;
            return(vdcType);
        }