ImageMagick.MagickScript.ExecuteDrawableViewbox C# (CSharp) 메소드

ExecuteDrawableViewbox() 개인적인 메소드

private ExecuteDrawableViewbox ( XmlElement element, Collection drawables ) : void
element System.Xml.XmlElement
drawables Collection
리턴 void
    private void ExecuteDrawableViewbox(XmlElement element, Collection<IDrawable> drawables)
    {
      double upperLeftX_ = Variables.GetValue<double>(element, "upperLeftX");
      double upperLeftY_ = Variables.GetValue<double>(element, "upperLeftY");
      double lowerRightX_ = Variables.GetValue<double>(element, "lowerRightX");
      double lowerRightY_ = Variables.GetValue<double>(element, "lowerRightY");
      drawables.Add(new DrawableViewbox(upperLeftX_, upperLeftY_, lowerRightX_, lowerRightY_));
    }
  }
MagickScript