1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| //
| // Created by YY on 2021/12/2.
| //
|
| #ifndef FLOATWINDOWVEDIO_WATERMARK_H
| #define FLOATWINDOWVEDIO_WATERMARK_H
|
| #ifdef __cplusplus
| extern "C" {
| #endif
|
| typedef struct {
| int x;
| int y;
| char text[512];
| } text_t;
|
| void InitWatermark(const char *font, int width, int height);
|
| void UninitWatermark(void);
|
| void PrepareWatermark(int color, int font_size, int multiple, int num, const text_t *texts);
|
| void AddWatermark(uint8_t *mem);
|
| #ifdef __cplusplus
| }
| #endif
|
| #endif //FLOATWINDOWVEDIO_WATERMARK_H
|
|