28 #ifndef __TERRALIB_SE_INTERNAL_UTILS_H
29 #define __TERRALIB_SE_INTERNAL_UTILS_H
32 #include "../geometry/Enums.h"
43 namespace rst {
class BandProperty; }
53 class PointSymbolizer;
54 class PolygonSymbolizer;
58 class RasterSymbolizer;
84 TESEEXPORT Stroke*
CreateStroke(
const std::string& color,
const std::string& width,
const std::string& opacity);
99 const std::string& opacity,
const std::string& dasharray);
116 const std::string& opacity,
const std::string& dasharray,
117 const std::string& linecap,
const std::string& linejoin);
134 const std::string& width,
const std::string& opacity,
135 const std::string& dasharray,
const std::string& linecap,
const std::string& linejoin);
185 TESEEXPORT Graphic*
CreateGraphic(Mark* mark,
const std::string& size,
const std::string& rotation,
const std::string& opacity);
359 #endif // __TERRALIB_SE_INTERNAL_UTILS_H
TESEEXPORT Fill * CreateFill(const std::string &color, const std::string &opacity)
Creates a fill.
FontStyleType
It defines the style to use for a font.
TESEEXPORT TextSymbolizer * CreateTextSymbolizer(const std::string &label, Fill *fill, Font *font)
Creates a text symbolizer.
TESEEXPORT PointSymbolizer * CreatePointSymbolizer(Graphic *graphic)
Creates a point symbolizer.
TESEEXPORT Graphic * CreateGraphic(Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity)
Creates a graphic.
TESEEXPORT LineSymbolizer * CreateLineSymbolizer(Stroke *stroke)
Creates a line symbolizer.
TESEEXPORT Mark * CreateMark(const std::string &wellKnownName, Stroke *stroke, Fill *fill)
Creates a mark.
Configuration flags for the Symbology Encoding support of TerraLib.
FontWeightType
It gives the amount of weight or boldness to use for a font.
TESEEXPORT Style * CreateFeatureTypeStyle(const te::gm::GeomType &geomType)
Try creates an appropriate feature type style based on given geometry type.
TESEEXPORT Stroke * CreateStroke(const std::string &color, const std::string &width)
Creates a stroke.
TESEEXPORT Style * CreateCoverageStyle(const std::vector< te::rst::BandProperty * > &properties)
Try creates an appropriate coverage style based on given band properties.
TESEEXPORT Symbolizer * CreateSymbolizer(const te::gm::GeomType &geomType)
Try creates an appropriate symbolizer based on given geometry type.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TESEEXPORT Description * CreateDescription(const std::string &title, const std::string &abst)
Creates a description.
A Font specifies the text font to use in a text symbolizer.
TESEEXPORT RasterSymbolizer * GetRasterSymbolizer(Style *s)
Try to get raster symbolizer from a style.
TESEEXPORT PolygonSymbolizer * CreatePolygonSymbolizer(Stroke *stroke, Fill *fill)
Creates a polygon symbolizer.
TESEEXPORT Font * CreateFont(const std::string &family, const std::string &size, const te::se::Font::FontStyleType &style=te::se::Font::StyleNormal, const te::se::Font::FontWeightType &weight=te::se::Font::WeightNormal)
Creates a font.
TESEEXPORT std::string GenerateRandomColor()
Creates a random RGB color encoded using two hexadecimal digits per primary-color component prefixed ...
#define TESEEXPORT
You can use this macro in order to export/import classes and functions from this module.
TESEEXPORT RasterSymbolizer * CreateRasterSymbolizer(const std::size_t &nBands)
Try creates an appropriate raster symbolizer style based on given number of bands.