Commit 25c68d51 authored by Alexander Alekhin's avatar Alexander Alekhin

freetype: apply CV_OVERRIDE/CV_FINAL

parent acec6955
...@@ -61,22 +61,22 @@ namespace freetype { ...@@ -61,22 +61,22 @@ namespace freetype {
using namespace std; using namespace std;
class CV_EXPORTS_W FreeType2Impl : public FreeType2 class CV_EXPORTS_W FreeType2Impl CV_FINAL : public FreeType2
{ {
public: public:
FreeType2Impl(); FreeType2Impl();
~FreeType2Impl(); ~FreeType2Impl();
void loadFontData(String fontFileName, int id) ; void loadFontData(String fontFileName, int id) CV_OVERRIDE;
void setSplitNumber( int num ); void setSplitNumber( int num ) CV_OVERRIDE;
void putText( void putText(
InputOutputArray img, const String& text, Point org, InputOutputArray img, const String& text, Point org,
int fontHeight, Scalar color, int fontHeight, Scalar color,
int thickness, int line_type, bool bottomLeftOrigin int thickness, int line_type, bool bottomLeftOrigin
); ) CV_OVERRIDE;
Size getTextSize( Size getTextSize(
const String& text, int fontHeight, int thickness, const String& text, int fontHeight, int thickness,
CV_OUT int* baseLine CV_OUT int* baseLine
); ) CV_OVERRIDE;
private: private:
FT_Library mLibrary; FT_Library mLibrary;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment