Glyph

class Glyph

The Glyph class is a concept class for glyph-related enum classes.

Public Types

enum class ColorSource : uint32_t

Enumerates the color modes that can apply to glyph elements.

Values:

enumerator Default

Glyph element color will be inherited from the color of the owning geometry.

enumerator Explicit

Glyph element color will be the specified RGBA color.

enumerator Indexed

Glyph element color will be the color at the specified index in the effective material palette.

enum class Default : uint32_t

Enumerates the predefined glyphs in Visualize. These can be accessed via the GlyphKit::GetDefault function and their appearance can be seen here.

Values:

enumerator Circle

An unfilled circle.

enumerator CircleWithDot

An unfilled circle with a dot in the center.

enumerator CircleWithPlus

An unfilled circle with a plus sign in the center.

enumerator CircleWithTimes

An unfilled circle with a times sign (X-shaped) in the center.

enumerator CircleWithCircle

An unfilled circle with a smaller unfilled circle inside it.

enumerator SolidCircle

A filled circle.

enumerator Dot

A single dot.

enumerator Plus

A plus sign.

enumerator Times

A times sign (X-shaped).

enumerator Splat

An asterisk (an X shape with an additional horizonatal line through the intersection point).

enumerator Box

An unfilled square.

enumerator BoxWithDot

An unfilled square with a dot in the center.

enumerator BoxWithTimes

An unfilled square with a times sign (X-shaped) in the center.

enumerator SolidBox

A filled square.

enumerator Diamond

An unfilled diamond.

enumerator DiamondWithDot

An unfilled diamond with a dot in the center.

enumerator DiamondWithPlus

An unfilled diamond with a plus sign in the center.

enumerator SolidDiamond

A filled diamond.

enumerator TriangleUp

An unfilled upward-pointing triangle.

enumerator TriangleUpWithDot

An unfilled upward-pointing triangle with a dot in the center.

enumerator SolidTriangleUp

A filled upward-pointing triangle.

enumerator TriangleDown

An unfilled downward-pointing triangle.

enumerator TriangleDownWithDot

An unfilled downward-pointing triangle with a dot in the center.

enumerator SolidTriangleDown

A filled downward-pointing triangle.

enumerator TriangleRight

An unfilled rightward-pointing triangle.

enumerator TriangleRightWithDot

An unfilled rightward-pointing triangle with a dot in the center.

enumerator SolidTriangleRight

A filled rightward-pointing triangle.

enumerator TriangleLeft

An unfilled leftward-pointing triangle.

enumerator TriangleLeftWithDot

An unfilled leftward-pointing triangle with a dot in the center.

enumerator SolidTriangleLeft

A filled leftward-pointing triangle.

enumerator TriangleUpV

An unfilled upward-pointing triangle with the top vertex at the glyph canvas origin.

enumerator SolidTriangleUpV

A filled upward-pointing triangle with the top vertex at the glyph canvas origin.

enumerator TriangleDownV

An unfilled downward-pointing triangle with the bottom vertex at the glyph canvas origin.

enumerator SolidTriangleDownV

A filled downward-pointing triangle with the bottom vertex at the glyph canvas origin.

enumerator TriangleRightV

An unfilled rightward-facing triangle with the right vertex at the glyph canvas origin.

enumerator SolidTriangleRightV

A filled rightward-facing triangle with the right vertex at the glyph canvas origin.

enumerator TriangleLeftV

An unfilled leftward-facing triangle with the left vertex at the glyph canvas origin.

enumerator SolidTriangleLeftV

A filled leftward-facing triangle with the left vertex at the glyph canvas origin.

enumerator LetterY

The letter Y.

enumerator LetterZ

The letter Z.

enumerator CircleLetterY

The letter Y circumscribed in an unfilled circle.

enumerator CircleLetterZ

The letter Z circumscribed in an unfilled circle.

enumerator VerticalBar

A vertical bar.

enumerator HorizontalBar

A horizontal bar.

enumerator SlantLeft

A left-slanting bar.

enumerator SlantRight

A right-slanting bar.

enumerator WidePlus

An unfilled plus sign.

enumerator SolidWidePlus

A filled plus sign.

enumerator WideTimes

An unfilled times sign (X-shaped).

enumerator SolidWideTimes

A filled times sign (X-shaped).

enumerator Pound

Two parallel vertical bars intersecting two parallel horizontal bars.

enumerator Sphere

A phong-shaded sphere when vertex lighting is enabled on supported drivers. A solid circle in all other cases.

enum class Fill : uint32_t

Enumerates the fill modes that can apply to glyph elements.

Values:

enumerator None

Closed geometry will not be filled.

enumerator Continuous

Closed geometry will be filled. If previous geometry was already filled, the fill will be be continued.

enumerator New

Closed geometry will be filled. If previous geometry was already filled, the fill will be restarted.

enumerator NewLoop

Closed geometry will be filled. If previous geometry was already filled, the fill will be continued as a new loop (such as a hole).