1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

imgproc: move stb_trutype functions into cv namespace

This commit is contained in:
Kumataro
2023-10-03 20:45:23 +00:00
parent c5ff405d94
commit 3a424b7f1c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -403,6 +403,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifdef STB_TRUETYPE_IMPLEMENTATION
namespace cv {
#ifndef STBTT_MAX_OVERSAMPLE
#define STBTT_MAX_OVERSAMPLE 8
#endif
@@ -4428,6 +4430,8 @@ STBTT_DEF int stbtt_SetInstance(stbtt_fontinfo* info, const int* params, int cou
#pragma GCC diagnostic pop
#endif
} // namespace cv
#endif // STB_TRUETYPE_IMPLEMENTATION
+1 -1
View File
@@ -72,7 +72,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#ifdef __cplusplus
extern "C" {
namespace cv {
#endif
#define STBTT_FOURCC(a, b, c, d) \