|
static std::shared_ptr< STK::TextRenderItem > | createTextItem (const std::string &text, const std::shared_ptr< STK::FontManager > &fontManager, const STK::Vector2f &pos, float angle, HorizontalAnchor horizAnchor, VerticalAnchor vertAnchor, const DrawObjectData &drawObjectData, const std::string &fontName, int fontPixelSize, const STK::RGBA &fontColor, const STK::RGBA &fontOutlineColor, const STK::FontStyle &fontStyle) |
|
static std::shared_ptr< CustomTextRenderItem > | createCustomTextItem (const std::string &text, const std::shared_ptr< STK::FontManager > &fontManager, const STK::Vector2f &pos, float angle, HorizontalAnchor horizAnchor, VerticalAnchor vertAnchor, const DrawObjectData &drawObjectData, const std::string &fontName, int fontPixelSize, const STK::RGBA &fontColor, const STK::FontStyle &fontStyle) |
|
static std::shared_ptr< CustomTextRenderItemSDF > | createCustomTextItemSDF (const std::string &text, const std::shared_ptr< STK::FontManager > &fontManager, const STK::Vector2f &pos, float angle, HorizontalAnchor horizAnchor, VerticalAnchor vertAnchor, const DrawObjectData &drawObjectData, const std::string &fontName, int fontPixelSize, const STK::RGBA &fontColor, const STK::RGBA &fontOutlineColor, const STK::FontStyle &fontStyle) |
|
static std::shared_ptr< CustomTextRenderItemSDFtest > | createCustomTextItemSDFtest (const std::string &text, const std::shared_ptr< STK::FontManager > &fontManager, const STK::Vector2f &pos, float angle, HorizontalAnchor horizAnchor, VerticalAnchor vertAnchor, const DrawObjectData &drawObjectData, const std::string &fontName, int fontPixelSize, const STK::RGBA &fontColor, const STK::RGBA &fontOutlineColor, const STK::FontStyle &fontStyle) |
|
static std::shared_ptr< STK::TextRenderItem > | createCustomTextItem (const std::string &text, const std::shared_ptr< STK::FontManager > &fontManager, const STK::Vector2f &pos, float angle, HorizontalAnchor horizAnchor, VerticalAnchor vertAnchor, const DrawObjectData &drawObjectData, const std::string &fontName, int fontPixelSize, const STK::RGBA &fontColor, const STK::RGBA &fontOutlineColor, const STK::FontStyle &fontStyle, STK::Vector2f scalableOffset, float minOffsetLength, float maxOffsetLength) |
|
static void | GetBasicGeometry (const std::shared_ptr< EllipseGeometry > &eg, BasicGeoTypes::GeoPos ¢erPos, BasicGeoTypes::GeoPos &vPos, double &vm, BasicGeoTypes::GeoPos &hPos, double &hm) |
| Get basic geometry based on ellipse primitive.
|
|
static double | getGridSize (const DrawObjectData &drawObject) |
| Get grid size for draw object.
|
|
static int | getUTMGridSize (const DrawObjectData &drawObject, double vm, double hm) |
| Get grid size for draw object. Ensure a more constrained selection: - 10,100,1000 or 10000.
|
|
static bool | RenderUTMSimplified (const DrawObjectData &drawObject, int gridSize, int rows, int cols, double vm, double hm, const std::shared_ptr< RasterProjector > &rp) |
| Check if UTM grid should be rendered as simplified.
|
|
static bool | getOutlinePoints (const DrawObjectData &drawObject, const BasicGeoTypes::GeoPos ¢erPos, double vm, double hm, int gridSize, const std::shared_ptr< RasterProjector > &rp, std::vector< STK::Vector2f > &pts, double &cellw) |
| Returns simplified outline polygon.
|
|
static bool | getPt (const MUtmPos &uc, const std::shared_ptr< RasterProjector > &rp, STK::Vector2f &pt) |
|
static int | getNumberPadReferences (const DrawObjectData &drawObject, std::set< std::string > &refs) |
| Get number pad cell references for draw object.
|
|
static std::string | getStartLabel (const DrawObjectData &drawObject, const LabelAxis &axis) |
| Get start label for draw object.
|
|
static int | getLabelSkips (const DrawObjectData &drawObject, const LabelAxis &axis, std::set< std::string > &skips) |
| Get label skips for draw object.
|
|
static LabelType | getLabelType (const DrawObjectData &drawObject, const LabelAxis &axis) |
| Get label type (numeric/alphabetic) for draw object.
|
|
static std::string | strTrimToUpper (const std::string &s) |
|
static std::vector< std::string > | getAlphabeticLabels (const DrawObjectData &drawObject, const LabelAxis axis, int numberOfLabels) |
| Gets an array of lenght 'numberOfLabels' of lexicographically consecutive(*) capital-letter strings of arbitrary lenght. (*) Successor of AA = AB, successor of NILZ = NIMA, successor of ZZZ = AAAA.
|
|
static std::vector< std::string > | getNumericLabels (const DrawObjectData &drawObject, const LabelAxis axis, int numberOfLabels) |
|
static std::vector< std::string > | getLabels (const DrawObjectData &drawObject, const LabelAxis axis, int numberOfLabels) |
|