|
| void | setGlyphsPoint (const STK::Vector2f &position, const GlyphRun &glyphs, bool outline, const double offsetX=0.0, const double offsetY=0.0, double angle=0.0, bool allowOverlap=false, bool drawBackground=false) |
| |
| void | setGlyphsPath (const std::vector< STK::Vector2f > &line, bool continuedLine, const GlyphRun &glyphs, double stretch, bool allowOverlap) |
| |
| void | setFont (const std::shared_ptr< STK::Font > &font) |
| |
| void | addGlyphsPath (const std::vector< STK::Vector2f > &line, bool continuedLine, const GlyphRun &glyphs, bool allowOverlap) |
| |
| void | addGlyphsPoint (const STK::Vector2f &position, const GlyphRun &glyphs, double offsetX, double offsetY, double angle, bool allowOverlap, bool drawBackground) |
| |
|
int | numGlyphs () |
| | The total number of glyphs in this item.
|
| |
|
void | setColor (const Maria::RGBA &color) |
| |
|
void | setOutlineColor (const Maria::RGBA &color) |
| |
|
void | setBackgroundColor (const Maria::RGBA &color) |
| |
|
bool | fixedRotation () const |
| |
|
void | setFixedRotation (bool fixedRotation) |
| |
|
void | preRender (const std::shared_ptr< RasterProjector > &vp) |
| |
|
void | renderLabels (const std::shared_ptr< STK::ShaderProgram > &shader, float opacity) |
| |
|
void | renderBackgrounds (STK::ShaderProgram &shader) |
| |
|
void | projectAnchors (const std::shared_ptr< RasterProjector > &tileRp, const std::shared_ptr< RasterProjector > &vp) |
| |
| void | getPlacedCollisionFeatures (float xMin, float xMax, float yMin, float yMax, std::vector< PlacedCollisionFeature > &pcf) |
| |
|
void | updateCollisionGrid (std::shared_ptr< CollisionGrid > collisionGrid) |
| |
|
std::shared_ptr< STK::EllipseRender2D > | getDebugGraphics (const double pixelSize) |
| |
|
void | setGeoRect (const BasicGeoTypes::GeoRect &grc) |
| |
|
const BasicGeoTypes::GeoRect & | getGeoRect () const |
| |
|
bool | shouldRenderBackground () const |
| |
LabelRenderItem - OpenGL vertex buffer data for a collection of labels. This collection of labels usually corresponds to one rendering batch and contains all labels with the same font and color parameters. Glyph attributes and indices are static between layout changes. Projection and collision updates stage separate buffers for upload during preRender().