fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408)

pull/13383/head
Vadim Pisarevsky 15 years ago
parent 686e28eeee
commit 808190c02e
  1. 4
      modules/core/src/drawing.cpp

@ -229,8 +229,8 @@ LineIterator::LineIterator(const Mat& img, Point pt1, Point pt2,
}
this->ptr0 = img.data;
this->step = (int)step;
this->elemSize = bt_pix;
this->step = (int)img.step;
this->elemSize = bt_pix0;
}
static void

Loading…
Cancel
Save