different line ending of a line
![]() | Type |
![]() | |
![]() | CIRCLE_WIDTH the default width of a circle line end. |
![]() | OPEN_ARROW_LENGTH default length of open arrow. |
![]() | OPEN_ARROW_WIDTH default width of open arrow. |
![]() | FILLED_ARROW_LENGTH default length of the sides of the arrow head |
![]() | FILLED_ARROW_ANGLE angle between each side and the line in degrees |
![]() | FILLED_ARROW_INSET percentage inset for base of arrow [0..1] (values +- 0.60 work well). |
![]() | TRIANGLE_WIDTH default width of a triangle |
![]() | TRIANGLE_LENGTH default length of a side of a triangle. |
![]() | DIAMOND_WIDTH default width of a diamond. |
![]() | DIAMOND_LENGTH default length of a side of a diamond. |
![]() | typeNames [] |
![]() | LineEnd () |
![]() | LineEnd (Type t) |
![]() | SetType (Type t) |
![]() | GetType () |
![]() | SetLength (int l) |
![]() | GetLength () |
![]() | SetWidth (int w) |
![]() | GetWidth () |
![]() | String2Type (const string *s) e.g. convert "OpenArrow" to OPEN\_ARROW. |
![]() | Type2String (Type t, string *s) e.g. convert OPEN\_ARROW to "OpenArrow". |
![]() | Draw (Grafport *g, const Point *from, const Point *to, Point *newEnd) draw the given line ending in the grafport. |
![]() | CalcDiamond (const Point *from, const Point *to, int len, int wd, Point *points) |
![]() | CalcDirectionDiamond (const Point *from, const Point *to, const Point *apos, int len, int wd, Point *points) |
![]() | CalcFilledArrowHead (const Point *from, const Point *to, int len, Point *points) |
different line ending of a line
enum
LineEnd()
LineEnd(Type t)
void SetType(Type t)
LineEnd::Type GetType()
void SetLength(int l)
int GetLength()
void SetWidth(int w)
int GetWidth()
static const int CIRCLE_WIDTH
static const int OPEN_ARROW_LENGTH
static const int OPEN_ARROW_WIDTH
static const int FILLED_ARROW_LENGTH
static const int FILLED_ARROW_ANGLE
static const double FILLED_ARROW_INSET
static const int TRIANGLE_WIDTH
static const int TRIANGLE_LENGTH
static const int DIAMOND_WIDTH
static const int DIAMOND_LENGTH
static const TypeName typeNames[]
static Type String2Type(const string *s)
static void Type2String(Type t, string *s)
void Draw(Grafport *g, const Point *from, const Point *to, Point *newEnd)
void static CalcDiamond(const Point *from, const Point *to, int len, int wd, Point *points)
void static CalcDirectionDiamond(const Point *from, const Point *to, const Point *apos, int len, int wd, Point *points)
static void CalcFilledArrowHead(const Point *from, const Point *to, int len, Point *points)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de