mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Format API headers with clang-format
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
ca9ea78494
commit
2a66694754
@ -154,7 +154,7 @@ public:
|
||||
/**
|
||||
* Print Tesseract fonts table to the given file.
|
||||
*/
|
||||
void PrintFontsTable(FILE* fp) const;
|
||||
void PrintFontsTable(FILE *fp) const;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -282,8 +282,7 @@ enum class ThresholdMethod {
|
||||
Otsu, // Tesseract's legacy Otsu
|
||||
LeptonicaOtsu, // Leptonica's Otsu
|
||||
Sauvola, // Leptonica's Sauvola
|
||||
|
||||
Max, // Number of Thresholding methods
|
||||
Max, // Number of Thresholding methods
|
||||
};
|
||||
|
||||
} // namespace tesseract.
|
||||
|
@ -141,13 +141,12 @@ protected:
|
||||
void AppendData(const char *s, int len);
|
||||
|
||||
private:
|
||||
TessResultRenderer *next_; // Can link multiple renderers together
|
||||
FILE *fout_; // output file pointer
|
||||
TessResultRenderer *next_; // Can link multiple renderers together
|
||||
FILE *fout_; // output file pointer
|
||||
const char *file_extension_; // standard extension for generated output
|
||||
std::string title_; // title of document being rendered
|
||||
int imagenum_; // index of last image added
|
||||
|
||||
bool happy_; // I get grumpy when the disk fills up, etc.
|
||||
bool happy_; // I get grumpy when the disk fills up, etc.
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user