~ubuntu-branches/ubuntu/utopic/tesseract/utopic-proposed

« back to all changes in this revision

Viewing changes to ccstruct/polyblk.cpp

  • Committer: Package Import Robot
  • Author(s): Jeff Breidenbach
  • Date: 2012-10-23 23:25:05 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20121023232505-01pfq6trlgqtagwj
Tags: 3.02.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
}
139
139
 
140
140
 
141
 
/// @Returns true if other is inside this.
 
141
/// @return true if other is inside this.
142
142
bool POLY_BLOCK::contains(POLY_BLOCK *other) {
143
143
  inT16 count;                   // winding count
144
144
  ICOORDELT_IT it = &vertices;   // iterator
301
301
#endif
302
302
 
303
303
 
304
 
/// @Returns true if the polygons of other and this overlap.
 
304
/// @return true if the polygons of other and this overlap.
305
305
bool POLY_BLOCK::overlap(POLY_BLOCK *other) {
306
306
  inT16 count;                   // winding count
307
307
  ICOORDELT_IT it = &vertices;   // iterator
393
393
    return (0);
394
394
}
395
395
 
396
 
 
 
396
#ifndef GRAPHICS_DISABLED
397
397
/// Returns a color to draw the given type.
398
398
ScrollView::Color POLY_BLOCK::ColorForPolyBlockType(PolyBlockType type) {
399
399
  // Keep kPBColors in sync with PolyBlockType.
419
419
  }
420
420
  return ScrollView::WHITE;
421
421
}
 
422
#endif  // GRAPHICS_DISABLED