Description Usage Arguments Value Author(s)
Some glyph constructors for simple glyphs like circle, square and
triangle. For use with qdrawGlyph
.
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)
|
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 |
qglyphCircle
: C++ QPainterPath
instance for use with
qdrawGlyph
Michael Lawrence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.