Click or drag to resize

QuadraticCurveToMetafileCommandCreateArc Method

Creates an arc from the quadratic curve.

Namespace: RAYLASE.Marker.VectorGraphicElement.MetafileCommand
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public override ArcToMetafileCommand CreateArc(
	int startIdx = -1,
	int numOfPoints = 0,
	double delta = 100
)

Parameters

startIdx  Int32  (Optional)
This value is ignored.
numOfPoints  Int32  (Optional)
The number of points used in the first step of the conversion.
delta  Double  (Optional)
A point P is considered to be laying on a line if the perpendicular of P to the line between the line and P is less than this value in micrometers.

Return Value

ArcToMetafileCommand
The calculated arc.
Remarks
In the first step the curve is converted into a polyline containing numOfPoints points, from this polyline all straight points are removed in the second step using the delta.
See Also