예제 #1
0
        protected override IEnumerable ListParameters()
        {
            yield return("Image balance: " + _imageBalance);

            yield return("Smoothness: " + _smoothness);

            yield return("Light position: " +
                         Abbreviations.Get(_lightPosition.Value));
        }
예제 #2
0
        protected override IEnumerable ListParameters()
        {
            yield return(String.Format("Radius: {0:F3}", _radius));

            yield return(String.Format("Threshold: {0:F3}", _threshold));

            yield return("Quality: " + Abbreviations.Get(_quality.Value));

            yield return("Mode: " + Abbreviations.Get(_mode.Value));
        }
예제 #3
0
        protected override IEnumerable ListParameters()
        {
            if (_gefk != null)
            {
                yield return("Effect: " + Abbreviations.Get(_gefk.Value));
            }
            yield return("Detail: " + _detail);

            yield return("Darkness: " + _darkness);
        }
예제 #4
0
        protected override IEnumerable ListParameters()
        {
            yield return("From: Current History State");

            var usng = Parameters["Usng"] as EnumParameter;

            if (usng != null)
            {
                yield return("Using: " + Abbreviations.Get(usng.Value));
            }
        }
예제 #5
0
        protected override IEnumerable ListParameters()
        {
            yield return("shearPoints: " + "Fix me!");

            yield return("Undefined Area: " +
                         Abbreviations.Get(_undefinedArea.Value));

            yield return("Shear Start: " + _shearStart);

            yield return("Shear End: " + _shearEnd);
        }
예제 #6
0
        protected override IEnumerable ListParameters()
        {
            _objc.Fill(this);

            yield return("With: " + Abbreviations.Get(_objc.ClassID2));

            yield return("Source: ");

            yield return(Format(_invertSource, Abbreviations.Get("Invr")));

            yield return(Format(_preserveTransparency, Abbreviations.Get("PrsT")));
        }
예제 #7
0
        protected override IEnumerable ListParameters()
        {
            if (_gefk != null)
            {
                yield return("Effect: " + Abbreviations.Get(_gefk.Value));
            }
            yield return("Size: " + _size);

            yield return("Sharpen: " + _sharpen);

            yield return("Brushtype: " + Abbreviations.Get(_brushType.Value));
        }
예제 #8
0
 protected string Format(EnumParameter parameter, string s)
 {
     if (parameter == null)
     {
         return(Abbreviations.Get(s) + ": fixme!");
     }
     else
     {
         return(Abbreviations.Get(s) + ": " +
                Abbreviations.Get(parameter.Value));
     }
 }
예제 #9
0
        protected override IEnumerable ListParameters()
        {
            if (_modifier != null)
            {
                yield return("Modification: " + Abbreviations.Get(_modifier.Value));
            }

            if (_makeVisible != null)
            {
                yield return((_makeVisible.Value ? "With" : "Without") +
                             " Make Visible");
            }
        }
예제 #10
0
 public override IEnumerable <string> Format()
 {
     if (Name != null)
     {
         yield return(String.Format("{0}: {1}", UppercaseName,
                                    Abbreviations.Get(ClassID2)));
     }
     foreach (var child in _children)
     {
         foreach (var s in child.Format())
         {
             yield return(s);
         }
     }
 }
예제 #11
0
 protected override IEnumerable ListParameters()
 {
     if (_adjustment != null)
     {
         var objc = _adjustment[0] as ObjcParameter;
         if (objc.Contains("Gmm"))
         {
             yield return("Gamma: " + objc.GetValueAsDouble("Gmm"));
         }
         if (objc.Contains("Chnl"))
         {
             var    channel = objc.Parameters["Chnl"] as ReferenceParameter;
             string value   = (channel.Set[0] as EnmrType).Value;
             yield return($"{Abbreviations.Get("Chnl")}: {Abbreviations.Get(value)}");
         }
     }
 }
예제 #12
0
        protected override IEnumerable ListParameters()
        {
            if (_type is TypeParameter)
            {
                string type = (_type as TypeParameter).Value;
                yield return("To: " + Abbreviations.Get(type));
            }
            else if (_type is ObjcParameter)
            {
                ObjcParameter objc = _type as ObjcParameter;
                yield return("To: " + Abbreviations.Get(objc.ClassID2));
            }

            if (Parameters["Dpth"] != null)
            {
                _depth = (Parameters["Dpth"] as LongParameter).Value;
                yield return("Depth: " + _depth);
            }
        }
예제 #13
0
        protected override IEnumerable ListParameters()
        {
            var saveAs = Parameters["As"];

            if (saveAs != null)
            {
                string fileType = "unknown extension";

                if (saveAs is ObjcParameter)
                {
                    fileType = (saveAs as ObjcParameter).ClassID2;
                }
                else if (saveAs is TextParameter)
                {
                    fileType = (saveAs as TextParameter).Value;
                }

                yield return("As: " + Abbreviations.Get(fileType));

                yield return("Byte Order: ");
            }

            var saveIn = Parameters["In"];

            if (saveIn != null)
            {
                if (saveIn is AliasParameter)
                {
                    _path = "Fix me: SaveEvent.AliasParameter";
                }
                else if (saveIn is PathParameter)
                {
                    _path = (saveIn as PathParameter).Path;
                }
                else
                {
                    _path = "Fix me: unknown path (SaveEvent)";
                }

                yield return("In: " + _path);
            }
        }
예제 #14
0
        protected override IEnumerable ListParameters()
        {
            if (_gefs == null)
            {
                Console.WriteLine("FilterGalleryEvent-1");
                yield break;
            }

            foreach (Parameter parameter in _gefs)
            {
                if (parameter is ObjcParameter)
                {
                    var objc = parameter as ObjcParameter;
                    yield return(Abbreviations.Get(objc.GetValueAsString("GEfk")));
                }
                else
                {
                    Console.WriteLine("FilterGalleryEvent: " + parameter);
                }
            }
        }
예제 #15
0
 public override IEnumerable <string> Format()
 {
     // yield return $"{(Value) ? "With" : "Without"} {Abbreviations.Get(Name)}";
     yield return($"{Abbreviations.Get(Name)}");
 }
예제 #16
0
 protected override IEnumerable ListParameters()
 {
     yield return("Using: " + Abbreviations.Get(_objc.ClassID2));
 }
예제 #17
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0}: {1}", UppercaseName,
                                Abbreviations.Get(Value)));
 }
예제 #18
0
 protected string Format(double value, string s)
 {
     return(String.Format("{0}: {1:F3}", Abbreviations.Get(s), value));
 }
예제 #19
0
 protected string Format(int value, string s)
 {
     return(String.Format("{0}: {1}", Abbreviations.Get(s), value));
 }
예제 #20
0
 protected string Format(string value, string s)
 {
     return(String.Format("{0}: \"{1}\"", Abbreviations.Get(s), value));
 }
예제 #21
0
 protected string Format(bool value, string s)
 {
     return(((value) ? "With " : "Without ") + Abbreviations.Get(s));
 }
예제 #22
0
 public override IEnumerable <string> Format()
 {
     yield return($"{Abbreviations.Get(Key)}: {Abbreviations.Get(Value)}");
 }
예제 #23
0
 protected override IEnumerable ListParameters()
 {
     yield return("Shape: " + Abbreviations.Get(_shape.ClassID2));
 }
예제 #24
0
 protected override IEnumerable ListParameters()
 {
     yield return("To: " + Abbreviations.Get(_direction) + " layer");
 }
예제 #25
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0} {1}",
                                (Value) ? "With" : "Without",
                                Abbreviations.Get(Name)));
 }
예제 #26
0
 protected override IEnumerable ListParameters()
 {
     yield return("Using: " + Abbreviations.Get(_using.Value));
 }
예제 #27
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0}: \"{1}\"", Abbreviations.Get(Name),
                                Path));
 }
예제 #28
0
 public override IEnumerable <string> Format()
 {
     yield return($"{UppercaseName}: {Abbreviations.Get(Value)}");
 }
예제 #29
0
 protected override IEnumerable ListParameters()
 {
     yield return("To: " + Abbreviations.Get(_type) + " pixel");
 }
예제 #30
0
 public override IEnumerable <string> Format()
 {
     yield return($"{Abbreviations.Get(ClassID2)} {Abbreviations.Get(Key)}");
 }