示例#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;
 }