---
name: "Square"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Square"
---

# Square(3tulip)

A 2D glyph.

## NAME

Square -

A 2D glyph.

## SYNOPSIS

### Public Member Functions

**Square** (GlyphContext \*gc=NULL)\
 virtual **~Square** ()\
 virtual void **getIncludeBoundingBox** (BoundingBox &boundingBox)\
 virtual void **draw** (node n, float lod)\
 virtual Coord **getAnchor** (const Coord &vector) const \

### Protected Member Functions

void **drawSquare** ()\
 void **drawSquareBorder** ()\

## Detailed Description

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.

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
