ccstruct/ocrblock.h File Reference

#include "img.h"
#include "ocrrow.h"
#include "pageblk.h"
#include "pdblock.h"

Go to the source code of this file.

Functions


Function Documentation

int decreasing_top_order ( const void *  row1,
const void *  row2 
)

Sort Comparator: Return <0 if row1 top < row2 top

Definition at line 137 of file ocrblock.cpp.

00139                                            {
00140   return (*(ROW **) row2)->bounding_box ().top () -
00141     (*(ROW **) row1)->bounding_box ().top ();
00142 }


Generated on Wed Feb 28 19:49:16 2007 for Tesseract by  doxygen 1.5.1