qglyphs: Glyph constructors

Description Usage Arguments Value Author(s)

Description

Some glyph constructors for simple glyphs like circle, square and triangle. For use with qdrawGlyph.

Usage

1
2
3
4
5
qglyphCircle(r=5)
qglyphSquare(x=5)
qglyphTriangle(x=5, direction=c("up", "down"))
qglyphText(text="X", size=12)
qglyphSegment(x=5, direction=0)

Arguments

r

Radius of the circle

x

Length of one side of the square or triangle or the segment

direction

Whether the triangle is pointing up or down, or the direction of the segment (unit: radian)

text

The text of the text glyph

size

The font size of the text glyph

Value

qglyphCircle: C++ QPainterPath instance for use with qdrawGlyph

Author(s)

Michael Lawrence


ggobi/qtpaint documentation built on May 17, 2019, 3:15 a.m.