osgEarth 2.1.1
Defines | Functions

/home/cube/sources/osgearth/src/osgEarthSymbology/SLD.cpp File Reference

#include <osgEarthSymbology/SLD>
#include <osgEarthSymbology/CssUtils>
#include <osgEarthSymbology/Style>
#include <osgEarthSymbology/Expression>
#include <osgEarth/XmlUtils>
#include <stack>
#include <algorithm>
Include dependency graph for SLD.cpp:

Go to the source code of this file.

Defines

#define CSS_STROKE   "stroke"
#define CSS_STROKE_WIDTH   "stroke-width"
#define CSS_STROKE_OPACITY   "stroke-opacity"
#define CSS_STROKE_LINECAP   "stroke-linecap"
#define CSS_FILL   "fill"
#define CSS_FILL_OPACITY   "fill-opacity"
#define CSS_POINT_SIZE   "point-size"
#define CSS_TEXT_FONT   "text-font"
#define CSS_TEXT_SIZE   "text-size"
#define CSS_TEXT_HALO   "text-halo"
#define CSS_TEXT_ATTRIBUTE   "text-attribute"
#define CSS_TEXT_ROTATE_TO_SCREEN   "text-rotate-to-screen"
#define CSS_TEXT_SIZE_MODE   "text-size-mode"
#define CSS_TEXT_REMOVE_DUPLICATE_LABELS   "text-remove-duplicate-labels"
#define CSS_TEXT_LINE_ORIENTATION   "text-line-orientation"
#define CSS_TEXT_LINE_PLACEMENT   "text-line-placement"
#define CSS_TEXT_CONTENT   "text-content"
#define CSS_TEXT_CONTENT_ATTRIBUTE_DELIMITER   "text-content-attribute-delimiter"

Functions

static void parseLineCap (const std::string &value, optional< Stroke::LineCapStyle > &cap)

Define Documentation

#define CSS_FILL   "fill"

Definition at line 35 of file SLD.cpp.

#define CSS_FILL_OPACITY   "fill-opacity"

Definition at line 36 of file SLD.cpp.

#define CSS_POINT_SIZE   "point-size"

Definition at line 38 of file SLD.cpp.

#define CSS_STROKE   "stroke"

Definition at line 30 of file SLD.cpp.

#define CSS_STROKE_LINECAP   "stroke-linecap"

Definition at line 33 of file SLD.cpp.

#define CSS_STROKE_OPACITY   "stroke-opacity"

Definition at line 32 of file SLD.cpp.

#define CSS_STROKE_WIDTH   "stroke-width"

Definition at line 31 of file SLD.cpp.

#define CSS_TEXT_ATTRIBUTE   "text-attribute"

Definition at line 43 of file SLD.cpp.

#define CSS_TEXT_CONTENT   "text-content"

Definition at line 49 of file SLD.cpp.

#define CSS_TEXT_CONTENT_ATTRIBUTE_DELIMITER   "text-content-attribute-delimiter"

Definition at line 50 of file SLD.cpp.

#define CSS_TEXT_FONT   "text-font"

Definition at line 40 of file SLD.cpp.

#define CSS_TEXT_HALO   "text-halo"

Definition at line 42 of file SLD.cpp.

#define CSS_TEXT_LINE_ORIENTATION   "text-line-orientation"

Definition at line 47 of file SLD.cpp.

#define CSS_TEXT_LINE_PLACEMENT   "text-line-placement"

Definition at line 48 of file SLD.cpp.

#define CSS_TEXT_REMOVE_DUPLICATE_LABELS   "text-remove-duplicate-labels"

Definition at line 46 of file SLD.cpp.

#define CSS_TEXT_ROTATE_TO_SCREEN   "text-rotate-to-screen"

Definition at line 44 of file SLD.cpp.

#define CSS_TEXT_SIZE   "text-size"

Definition at line 41 of file SLD.cpp.

#define CSS_TEXT_SIZE_MODE   "text-size-mode"

Definition at line 45 of file SLD.cpp.


Function Documentation

static void parseLineCap ( const std::string &  value,
optional< Stroke::LineCapStyle > &  cap 
) [static]

Definition at line 54 of file SLD.cpp.

{
    if ( value == "butt" ) cap = Stroke::LINECAP_BUTT;
    if ( value == "round" ) cap = Stroke::LINECAP_ROUND;
    if ( value == "square" ) cap = Stroke::LINECAP_SQUARE;
}

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines