NAME
BQShape - BRTT Qt graphics extension glyph shape generator
SYNOPSIS
$(QTNATIVELIBS) -lbqplot_native -lbanner -lbrttutil -lbumapdata $(DBLIBS) $(TRLIBS)
#include "BQ.h"
DESCRIPTION
BQShape class provides a number of static methods that will return glyph shapes.
INHERITS FROM
None
BQShape METHODS
-
static BqShape *getPoint();
-
static BqShape *getCross();
-
static BqShape *getX();
-
static BqShape *getCircle();
-
static BqShape *getSquare();
-
static BqShape *getTriangle();
-
static BqShape *getDiamond();
-
static BqShape *getStar();
-
static BqShape *getBeachball (double m[6]);
These return BqShape structures for various glyph shapes. The getBeachball shape
needs the moment tensor elements specified in m, the six independent
moment tensor components, mxx, myy, mzz, mxy, mxz
and myz as defined in bumoment(3). The fixed shapes are stored as static structures.
The beachball glyphs are stored in a hash with the moment tensor elements as keys. The BqShape
structure us defined as below.
struct BqShape {
QPainterPath *outline;
QList<QPainterPath *> paths;
QRectF bounding_rect;
};
SEE ALSO
bqplot(3),
BQGlyph(3),
BQGlyphs(3),
BQPolypoint(3),
BQMapevents(3),
bumoment(3)
AUTHOR
Danny Harvey, BRTT