tesseract  4.00.00dev
pdblock.h File Reference
#include "clst.h"
#include "strngs.h"
#include "polyblk.h"

Go to the source code of this file.

Classes

class  PDBLK
 page block More...
 
class  BLOCK_RECT_IT
 
class  BLOCK_LINE_IT
 rectangle iterator More...
 

Functions

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

Variables

class DLLSYM PDBLK
 

Function Documentation

◆ decreasing_top_order()

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

decreasing_top_order

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

Definition at line 72 of file ocrblock.cpp.

74  {
75  return (*(ROW **) row2)->bounding_box ().top () -
76  (*(ROW **) row1)->bounding_box ().top ();
77 }
Definition: ocrrow.h:32

Variable Documentation

◆ PDBLK

class DLLSYM PDBLK

Definition at line 27 of file pdblock.h.