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

            yield return("Smoothness: " + _smoothness);

            yield return("Light position: " +
                         Abbreviations.Get(_lightPosition.Value));
        }
Example #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));
        }
Example #3
0
        protected override IEnumerable ListParameters()
        {
            if (_gefk != null)
            {
                yield return("Effect: " + Abbreviations.Get(_gefk.Value));
            }
            yield return("Detail: " + _detail);

            yield return("Darkness: " + _darkness);
        }
Example #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));
            }
        }
Example #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);
        }
Example #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")));
        }
Example #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));
        }
Example #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));
     }
 }
Example #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");
            }
        }
Example #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);
         }
     }
 }
Example #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)}");
         }
     }
 }
Example #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);
            }
        }
Example #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);
            }
        }
Example #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);
                }
            }
        }
Example #15
0
 public override IEnumerable <string> Format()
 {
     // yield return $"{(Value) ? "With" : "Without"} {Abbreviations.Get(Name)}";
     yield return($"{Abbreviations.Get(Name)}");
 }
Example #16
0
 protected override IEnumerable ListParameters()
 {
     yield return("Using: " + Abbreviations.Get(_objc.ClassID2));
 }
Example #17
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0}: {1}", UppercaseName,
                                Abbreviations.Get(Value)));
 }
Example #18
0
 protected string Format(double value, string s)
 {
     return(String.Format("{0}: {1:F3}", Abbreviations.Get(s), value));
 }
Example #19
0
 protected string Format(int value, string s)
 {
     return(String.Format("{0}: {1}", Abbreviations.Get(s), value));
 }
Example #20
0
 protected string Format(string value, string s)
 {
     return(String.Format("{0}: \"{1}\"", Abbreviations.Get(s), value));
 }
Example #21
0
 protected string Format(bool value, string s)
 {
     return(((value) ? "With " : "Without ") + Abbreviations.Get(s));
 }
Example #22
0
 public override IEnumerable <string> Format()
 {
     yield return($"{Abbreviations.Get(Key)}: {Abbreviations.Get(Value)}");
 }
Example #23
0
 protected override IEnumerable ListParameters()
 {
     yield return("Shape: " + Abbreviations.Get(_shape.ClassID2));
 }
Example #24
0
 protected override IEnumerable ListParameters()
 {
     yield return("To: " + Abbreviations.Get(_direction) + " layer");
 }
Example #25
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0} {1}",
                                (Value) ? "With" : "Without",
                                Abbreviations.Get(Name)));
 }
Example #26
0
 protected override IEnumerable ListParameters()
 {
     yield return("Using: " + Abbreviations.Get(_using.Value));
 }
Example #27
0
 public override IEnumerable <string> Format()
 {
     yield return(String.Format("{0}: \"{1}\"", Abbreviations.Get(Name),
                                Path));
 }
Example #28
0
 public override IEnumerable <string> Format()
 {
     yield return($"{UppercaseName}: {Abbreviations.Get(Value)}");
 }
Example #29
0
 protected override IEnumerable ListParameters()
 {
     yield return("To: " + Abbreviations.Get(_type) + " pixel");
 }
Example #30
0
 public override IEnumerable <string> Format()
 {
     yield return($"{Abbreviations.Get(ClassID2)} {Abbreviations.Get(Key)}");
 }