Ejemplo n.º 1
0
    void ExportVideoMotionVertex(XmlElement parent, VideoMotionVertex vertex, String location)
    {
        XmlElement elt = AddChild(parent, location);

        elt.SetAttribute("X", vertex.X.ToString(myNumberFormat));
        elt.SetAttribute("Y", vertex.Y.ToString(myNumberFormat));
    }
Ejemplo n.º 2
0
    VideoMotionBounds ChildVideoMotionBounds(XmlElement parent, String boundsName)
    {
        XmlElement        elt         = parent[boundsName];
        VideoMotionVertex topLeft     = ChildVideoMotionVertex(elt, "TopLeft");
        VideoMotionVertex topRight    = ChildVideoMotionVertex(elt, "TopRight");
        VideoMotionVertex bottomRight = ChildVideoMotionVertex(elt, "BottomRight");
        VideoMotionVertex bottomLeft  = ChildVideoMotionVertex(elt, "BottomLeft");

        return(new VideoMotionBounds(topLeft, topRight, bottomRight, bottomLeft));
    }