Added a reversed flag to tessAddContour()