Пример #1
0
        // Constructor
        public Legend(PointF center)
        {
            Control    = new DeviceControl(this);
            MinControl = new MinimizedControl(this);
            SetSkin();

            framesMissingNr = 0;
            deviceCenter    = ConvertCenter(center);

            centersAvg = new CircularList <PointF>(centersNr);
        }
Пример #2
0
        // Constructor
        public IPhone(CircleF apple, CircleF camera)
        {
            Control    = new DeviceControl(this);
            MinControl = new MinimizedControl(this);
            SetSkin();

            framesMissingNr = 0;
            Apple           = apple;
            Camera          = camera;
            CalculatePosition();

            centersAvg      = new CircularList <PointF>(centersNr);
            orientationsAvg = new CircularList <double>(orientationsNr);
        }