src/training/pango/boxchar.cpp
bool BoxChar::ContainsMostlyRTL(const std::vector<BoxChar *> &boxes) {
  int num_rtl = 0, num_ltr = 0;
  for (auto boxe : boxes) {
    boxe->GetDirection(&num_rtl, &num_ltr);
  }
  return num_rtl > num_ltr;
}
// Returns true if the vector contains mostly RTL characters.
/* static */
Returns true if the vector contains mostly RTL characters.
static
Returns true if the vector contains mostly RTL characters . static
bool BoxChar::ContainsMostlyRTL(const std::vector<BoxChar *> &boxes) {
  int num_rtl = 0, num_ltr = 0;
  for (auto boxe : boxes) {
    boxe->GetDirection(&num_rtl, &num_ltr);
  }
  return num_rtl > num_ltr;
}
bool BoxChar :: ContainsMostlyRTL ( const std :: vector < BoxChar * > & boxes ) { int num_rtl = 0 , num_ltr = 0 ; for ( auto boxe : boxes ) { boxe -> GetDirection ( & num_rtl , & num_ltr ) ; } return num_rtl > num_ltr ; }
Returns true if the vector contains mostly RTL characters.
Returns true if the vector contains mostly RTL characters .