legendParamater.h 1.3 KB
/**************************************************************************
* 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__