Пример #1
0
        public Graph()
        {
            Preinit();

            InitializeComponent();

            imageGrid.SizeChanged += ImageGrid_SizeChanged;
            this.PropertyChanged += Graph_PropertyChanged;

            _wBitmap = BitmapFactory.New(_bitmapWidth, _bitmapHeight);

            _cachedPoints = new LinkedList<Point>();

            image.Source = _wBitmap;

            _lastPoint = new Point(Double.MinValue, Double.MinValue);
            _lastX = int.MinValue;
            _scanColumn = new bool[_bitmapHeight];

            _viewportInfo = new ViewportInfo(xMin, xMax, yMin, yMax, _wBitmap, ToBitmap);
        }
Пример #2
0
 public IntervalMarker(ViewportInfo info,double lowerLimit, double upperLimit)
     : base(info)
 {
     this.lowerLimit = lowerLimit;
     this.upperLimit = upperLimit;
 }
Пример #3
0
 public GraphMarker(ViewportInfo info)
 {
     this.viewportInfo = info;
 }
Пример #4
0
 public ThresholdMarker(ViewportInfo info,double thresholdValue)
     : base(info)
 {
     this.thresholdValue = thresholdValue;
 }