tesseract  5.0.0-alpha-619-ge9db
tesseract::SpacingProperties Struct Reference

Public Member Functions

 SpacingProperties ()
 
 SpacingProperties (int b, int a)
 

Public Attributes

int x_gap_before
 
int x_gap_after
 
std::map< std::string, int > kerned_x_gaps
 

Detailed Description

Definition at line 200 of file text2image.cpp.

Constructor & Destructor Documentation

◆ SpacingProperties() [1/2]

tesseract::SpacingProperties::SpacingProperties ( )
inline

Definition at line 201 of file text2image.cpp.

201 {

◆ SpacingProperties() [2/2]

tesseract::SpacingProperties::SpacingProperties ( int  b,
int  a 
)
inline

Definition at line 202 of file text2image.cpp.

202 : x_gap_before(0), x_gap_after(0) {}

Member Data Documentation

◆ kerned_x_gaps

std::map<std::string, int> tesseract::SpacingProperties::kerned_x_gaps

Definition at line 207 of file text2image.cpp.

◆ x_gap_after

int tesseract::SpacingProperties::x_gap_after

Definition at line 206 of file text2image.cpp.

◆ x_gap_before

int tesseract::SpacingProperties::x_gap_before

Definition at line 205 of file text2image.cpp.


The documentation for this struct was generated from the following file:
tesseract::SpacingProperties::x_gap_before
int x_gap_before
Definition: text2image.cpp:205
tesseract::SpacingProperties::x_gap_after
int x_gap_after
Definition: text2image.cpp:206