Click or drag to resize

GraphicBaseGetCornerOutVector Method

Gets an vector (not normalized), which assumes that the given point is a corner. The calculated vector points in the direction of the angle bisector of the two edges. The returned vector and coordinates are in page coordinates.

Namespace: Altaxo.Graph.Gdi.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
protected void GetCornerOutVector(
	PointD2D rel,
	IHitTestObject hitTest,
	out PointD2D outVec,
	out PointD2D pageCoord
)

Parameters

rel  PointD2D
Relative point. Should be located at an edge or corner.
hitTest  IHitTestObject
Hit test object used to transform to page coordinates.
outVec  PointD2D
A vector in page coordinates pointing outwards from the object.
pageCoord  PointD2D
Location of point rel in page coordinates.
See Also