legendParamater.h
1.3 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**************************************************************************
* file: legendParamater.h
* Author: qingxiongf
* Date: 2021-12-12 23:05:31
* Email: qingxiongf@chinadci.com
* copyright: 广州城市信息研究所有限公司
***************************************************************************/
#ifndef __legendParamater_h__
#define __legendParamater_h__
#include "dmap_core.h"
#include <string>
using namespace std;
namespace DmapCore_30
{
class CORE_EXPORT legendParamater
{
public:
/* data */
int index;
double pixYIndex;
double pixXIndex;
double m_dScaleDenominator;
string provTitle="";
public:
int r=0,g=0,b=0;
int back_r = 255,back_g = 255, back_b = 255;
int back_a = 200;
string title = "图例";
string font = "宋体";
bool isbold = false;
bool showclassification;
int fontSize;
double rowspacing;
double size_x;
double size_y;
int row_maxsize;
int current_Col_Index;
double max_pixXIndex;
double max_pixYIndex;
public:
legendParamater(/* args */);
bool next(char * title);
~legendParamater();
};
}
#endif // __legendParamater_h__