Click or drag to resize

QuadraticCurveToMetafileCommand Methods

The QuadraticCurveToMetafileCommand type exposes the following members.

Methods
 NameDescription
Public methodCompareWith
(Inherited from BaseMetafileCommand)
Public methodCopyFrom Copies the property values from a given metafile command. The InvokeCommandChanged() is invoked at the end.
(Inherited from BaseMetafileCommand)
Public methodCreateArc Creates an arc from the quadratic curve.
(Overrides BaseMetafileCommand.CreateArc(Int32, Int32, Double))
Public methodCreateCubicCurves Creates a cubic curve from the quadratic curve.
(Overrides BaseMetafileCommand.CreateCubicCurves())
Public methodCreateEllipse Tries to approximate the command by an elliptical arc. Available only for arcs yet, creating an ellipse with both semi axes having the length of the arc's radius.

Return Value

The calculated elliptical arc.
(Inherited from BaseMetafileCommand)
Public methodCreatePolyline Creates a polyline from the command. The creation process is done in two steps: In the first step a polyline with numOfPoints points is created; this number should not be too small to have a good approximation guaranteed. In the second step all straight points are removed using the delta parameter. See CheckThreePointsOnLinearityWithDistance(dvec3, dvec3, dvec3, Double) for details.
(Overrides BaseMetafileCommand.CreatePolyline(Int32, Double))
Public methodCreateQuadraticCurves Converts the command into a list of up to eight quadratic curves approximating the original command element. Available only for arcs.
(Inherited from BaseMetafileCommand)
Protected methodDoCompareWith
(Inherited from BaseMetafileCommand)
Protected methodDoCopyFrom Copies extra property values from a given metafile command. This method is called from CopyFrom(BaseMetafileCommand).
(Overrides BaseMetafileCommand.DoCopyFrom(BaseMetafileCommand))
Protected methodDoInvert
(Overrides BaseMetafileCommand.DoInvert())
Protected methodDoInvokeCommandChanged
(Inherited from BaseMetafileCommand)
Protected methodDoSplitByLength
(Overrides BaseMetafileCommand.DoSplitByLength(Double, dmat4))
Protected methodDoTransform
(Overrides BaseMetafileCommand.DoTransform(dmat4))
Protected methodDoUpdateEndPoint
(Overrides BaseMetafileCommand.DoUpdateEndPoint(dvec3))
Public methodGenerateCommandPoints Generates a list of points that are significant to the shape.
(Overrides BaseMetafileCommand.GenerateCommandPoints())
Public methodGetTransformedLength Returns the length of the transformed vector.
(Overrides BaseMetafileCommand.GetTransformedLength(dmat4))
Protected methodInvokeCommandChanged
(Inherited from BaseMetafileCommand)
Public methodIsEqual Checks if two objects of type BaseMetafileCommand (or a derived class) are equal to each other. All position values must differ less than delta d to be considered as equal. Angles, axes ratios and the check on collinearity of lines are using the fixed value 0.01 rad.
(Overrides BaseMetafileCommand.IsEqual(Object, Double))
Public methodSetZCoordsToZero Sets all z-coordinates in this object to zero.
(Overrides BaseMetafileCommand.SetZCoordsToZero())
Public methodShowUI(String)
(Inherited from BaseMetafileCommand)
Public methodShowUI(String, PropertyMask)
(Overrides BaseMetafileCommand.ShowUI(String, PropertyMask))
Public methodShowUICallback
(Overrides BaseMetafileCommand.ShowUICallback(BaseMetafileCommandView))
Public methodSplitByLength Splits the command at the provided length.
(Inherited from BaseMetafileCommand)
Public methodSplitIntoTwo Creates two adjacent commands of the same type at the same position in a way that the two commands can replace the original.
(Overrides BaseMetafileCommand.SplitIntoTwo())
Public methodToStringReturns a string that represents the current object.
(Overrides Object.ToString())
Public methodUpdateEndPoint Updates the start and end points of this command based on a given starting point.
(Inherited from BaseMetafileCommand)
Top
See Also