src/viewer/scrollview.cpp
int ScrollView::TranslateYCoordinate(int y) {
  if (!y_axis_is_reversed_) {
    return y;
  } else {
    return y_size_ - y;
  }
}
// Inverse the Y axis if the coordinates are actually inversed.
Inverse the Y axis if the coordinates are actually inversed.
Inverse the Y axis if the coordinates are actually inversed .
int ScrollView::TranslateYCoordinate(int y) {
  if (!y_axis_is_reversed_) {
    return y;
  } else {
    return y_size_ - y;
  }
}
int ScrollView :: TranslateYCoordinate ( int y ) { if ( ! y_axis_is_reversed_ ) { return y ; } else { return y_size_ - y ; } }
Inverse the Y axis if the coordinates are actually inversed.
Inverse the Y axis if the coordinates are actually inversed .