Northwoods.Go Assembly > Northwoods.Go Namespace > GoStroke Class : CalculateArrowhead Method |
PointF
of at least length four to hold the results
PointF
of at least length four to hold the resultsBy default the four points are as follows:
This method is normally called by Paint to produce a point array to be passed to DrawArrowhead in the following fashion: if (this.ToArrow && this.PointsCount >= 2) { PointF[] toPoly = new PointF[GetArrowheadPointsCount(true)]; PointF anchor = this.ToArrowAnchorPoint; PointF end = this.ToArrowEndPoint; CalculateArrowhead(anchor, end, true, toPoly); ... now use the toPoly array ... }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2