コード例 #1
0
        public void Init(Size bound, UnitedMarkerCalibration markerCalibration)
        {
            this.bound = bound;

            this.markerCalibration = markerCalibration;

            mcanvas.Width  = bound.Width;
            mcanvas.Height = bound.Height;
        }
コード例 #2
0
        public void Init(UnitedMarkerCalibration uniCalibration, UnitedMarker unitedMarker, Size boundRect, Action bottomChanged, Action <int, bool> ScaleInfo)
        {
            this.bottomChanged  = bottomChanged;
            this.ScaleInfo      = ScaleInfo;
            uniMarker           = unitedMarker;
            this.uniCalibration = uniCalibration;
            bountRct            = boundRect;

            numtext.Text = uniMarker.ID.ToString();
            CheckAndCorrect(uniMarker);

            Display();
        }