Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public IntervalMarker(ViewportInfo info,double lowerLimit, double upperLimit)
     : base(info)
 {
     this.lowerLimit = lowerLimit;
     this.upperLimit = upperLimit;
 }
Ejemplo n.º 3
0
 public GraphMarker(ViewportInfo info)
 {
     this.viewportInfo = info;
 }
Ejemplo n.º 4
0
 public ThresholdMarker(ViewportInfo info,double thresholdValue)
     : base(info)
 {
     this.thresholdValue = thresholdValue;
 }