|
Tulip Plugins
|
A 2D glyph. More...
Public Member Functions | |
| Square (GlyphContext *gc=NULL) | |
| Square (EdgeExtremityGlyphContext *gc) | |
| virtual | ~Square () |
| virtual void | draw (node n, float lod) |
| virtual Coord | getAnchor (const Coord &vector) const |
| virtual void | draw (edge e, node n, const Color &glyphColor, const Color &borderColor, float lod) |
Protected Member Functions | |
| void | drawGlyph (const Color &glyphColor, const string &texture, const string &texturePath, double borderWidth, const Color &borderColor, float lod) |
Static Protected Attributes | |
| static GlRect * | rect = 0 |
A 2D glyph.
This glyph draws a textured square using the "viewTexture" node property value. If this property has no value, the square is then colored using the "viewColor" node property value.
1.7.4