All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config.h File Reference

Configuration flags for the Symbology Encoding support of TerraLib. More...

#include "../Config.h"

Go to the source code of this file.

Macros

#define TE_SE_MODULE_NAME   "te.symbology_encoding"
 
General Defines

General defines for Symbology Encoding

#define TE_SE_DEFAULT_UOM   3
 It specifies the default unit-of-measurement used by OGC Symbology Encoding. More...
 
#define TE_SE_DEFAULT_TEXT_COLOR   0, 0, 0
 It specifies the default color used to show texts. More...
 
#define TE_SE_DEFAULT_FONT_SIZE   10
 It specifies the default font size. More...
 
#define TE_SE_DEFAULT_HALO_COLOR   255, 255, 255
 It specifies the default color used to show text halo. More...
 
#define TE_SE_DEFAULT_HALO_RADIUS   1
 It specifies the default halo radius (in pixels). More...
 
#define TE_SE_DEFAULT_FILL_BASIC_COLOR   128, 128, 128
 It specifies the default color used by basic fill (solid colors). More...
 
#define TE_SE_DEFAULT_STROKE_BASIC_COLOR   0, 0, 0
 It specifies the default color used by stroke basic (solid colors). More...
 
#define TE_SE_DEFAULT_STROKE_BASIC_WIDTH   1
 It specifies the default width used by stroke basic (solid colors). More...
 
#define TE_SE_DEFAULT_GRAPHIC_SIZE   16
 It specifies the default graphic size. More...
 
#define TE_SE_DEFAULT_GAMMA_VALUE   1.0
 It specifies the default gamma value. More...
 
#define TE_SE_DEFAULT_VERSION   "1.1.0"
 It specifies the default version used by OGC Symbology Encoding. More...
 
#define TE_SE_BUTT_CAP   "butt"
 It specifies the value "butt" for stroke-linecap parameter. More...
 
#define TE_SE_ROUND_CAP   "round"
 It specifies the value "round" for stroke-linecap parameter. More...
 
#define TE_SE_SQUARE_CAP   "square"
 It specifies the value "square" for stroke-linecap parameter. More...
 
#define TE_SE_MITRE_JOIN   "mitre"
 It specifies the value "mitre" for stroke-linejoin parameter. More...
 
#define TE_SE_ROUND_JOIN   "round"
 It specifies the value "round" for stroke-linejoin parameter. More...
 
#define TE_SE_BEVEL_JOIN   "bevel"
 It specifies the value "bevel" for stroke-linejoin parameter. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_SE_TEXT_DOMAIN   "tlse"
 It contains the name of the text domain used in the translation of messages in TerraLib Symbology module. More...
 
#define TE_SE_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_SE(message)   TR(message, TE_SE_TEXT_DOMAIN)
 It marks a string in order to get translated. This is a special mark used in the Symbology module of TerraLib. More...
 
#define TR_PLURAL_SE(message1, message2, n)   TR_PLURAL(TE_SE_TEXT_DOMAIN, message1, message2, n)
 This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Symbology module of TerraLib. More...
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TESEEXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Detailed Description

Configuration flags for the Symbology Encoding support of TerraLib.

Definition in file Config.h.

Macro Definition Documentation

#define TE_SE_BEVEL_JOIN   "bevel"
#define TE_SE_BUTT_CAP   "butt"

It specifies the value "butt" for stroke-linecap parameter.

Definition at line 121 of file Config.h.

Referenced by te::map::CanvasConfigurer::CanvasConfigurer(), te::qt::widgets::BasicStrokePropertyItem::getCapNames(), and te::qt::widgets::BasicStrokeWidget::onStrokeCapStyleChanged().

#define TE_SE_DEFAULT_FONT_SIZE   10

It specifies the default font size.

Definition at line 58 of file Config.h.

Referenced by te::map::CanvasConfigurer::configDefaultText().

#define TE_SE_DEFAULT_GAMMA_VALUE   1.0

It specifies the default gamma value.

Definition at line 107 of file Config.h.

Referenced by te::map::RasterTransformConfigurer::getGammaProperty().

#define TE_SE_DEFAULT_GRAPHIC_SIZE   16

It specifies the default graphic size.

Definition at line 100 of file Config.h.

Referenced by te::map::CanvasConfigurer::config().

#define TE_SE_DEFAULT_HALO_COLOR   255, 255, 255

It specifies the default color used to show text halo.

Definition at line 65 of file Config.h.

Referenced by te::map::CanvasConfigurer::visit().

#define TE_SE_DEFAULT_HALO_RADIUS   1

It specifies the default halo radius (in pixels).

Definition at line 72 of file Config.h.

Referenced by te::map::CanvasConfigurer::visit().

#define TE_SE_DEFAULT_STROKE_BASIC_WIDTH   1

It specifies the default width used by stroke basic (solid colors).

Definition at line 93 of file Config.h.

Referenced by te::graph::LayerRenderer::configDefaultLine(), te::map::CanvasConfigurer::configDefaultLine(), and te::map::CanvasConfigurer::configDefaultPolygon().

#define TE_SE_DEFAULT_TEXT_COLOR   0, 0, 0

It specifies the default color used to show texts.

Definition at line 51 of file Config.h.

Referenced by te::map::CanvasConfigurer::configDefaultText(), and te::map::CanvasConfigurer::visit().

#define TE_SE_DEFAULT_UOM   3

It specifies the default unit-of-measurement used by OGC Symbology Encoding.

Definition at line 44 of file Config.h.

#define TE_SE_DEFAULT_VERSION   "1.1.0"

It specifies the default version used by OGC Symbology Encoding.

Definition at line 114 of file Config.h.

#define TE_SE_MITRE_JOIN   "mitre"

It specifies the value "mitre" for stroke-linejoin parameter.

Definition at line 142 of file Config.h.

Referenced by te::map::CanvasConfigurer::CanvasConfigurer(), te::qt::widgets::BasicStrokePropertyItem::getJoinNames(), and te::qt::widgets::BasicStrokeWidget::onStrokeJoinStyleChanged().

#define TE_SE_MODULE_NAME   "te.symbology_encoding"

Definition at line 32 of file Config.h.

Referenced by te::se::Module::Module(), and te::se::Module::~Module().

#define TE_SE_SQUARE_CAP   "square"
#define TE_SE_TEXT_DOMAIN   "tlse"

It contains the name of the text domain used in the translation of messages in TerraLib Symbology module.

Definition at line 170 of file Config.h.

Referenced by te::se::Module::Module().

#define TE_SE_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 177 of file Config.h.

Referenced by te::se::Module::Module().

#define TESEEXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TEMDDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEMDSTATIC flag into the project list of defines.
If you want to compile TerraLib as DLL in Windows, remember to insert TESEDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TESESTATIC flag into the project list of defines.

Definition at line 224 of file Config.h.

#define TR_PLURAL_SE (   message1,
  message2,
 
)    TR_PLURAL(TE_SE_TEXT_DOMAIN, message1, message2, n)

This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Symbology module of TerraLib.

Definition at line 191 of file Config.h.

#define TR_SE (   message)    TR(message, TE_SE_TEXT_DOMAIN)

It marks a string in order to get translated. This is a special mark used in the Symbology module of TerraLib.

Definition at line 184 of file Config.h.

Referenced by te::se::Module::finalize(), and te::se::Module::initialize().