Quadratic |
public class QuadraticCurveToMetafileCommand : BaseMetafileCommand
The QuadraticCurveToMetafileCommand type exposes the following members.
Name | Description | |
---|---|---|
![]() | QuadraticCurveToMetafileCommand | Initializes a new instance of the QuadraticCurveToMetafileCommand class |
Name | Description | |
---|---|---|
![]() | ControlPoint | The control point. |
![]() | EndPoint | The end point of the curve. The starting point is the end point of the last command. |
![]() | IsGeometric |
Returns true if the command describes a path (either with jumps or marks). LaserOn commands (aka drills) are excluded.
(Inherited from BaseMetafileCommand) |
![]() | Item |
Returns the following point the this order: ControlPoint, EndPoint (Overrides BaseMetafileCommandItemInt32) |
![]() | Label |
The display name of the meta file command type.
(Overrides BaseMetafileCommandLabel) |
![]() | Length |
Approximated length of the vector.
(Overrides BaseMetafileCommandLength) |
![]() | MetafileCommandFactory | (Inherited from BaseMetafileCommand) |
![]() | PointCount |
The number of points accessible by the indexer.
(Overrides BaseMetafileCommandPointCount) |
![]() | SegmentEndPointPair |
The end points of the segment generated by this metafile command. This value functions as a cache to reduce redundant calculations.
(Inherited from BaseMetafileCommand) |
Name | Description | |
---|---|---|
![]() | CompareWith | (Inherited from BaseMetafileCommand) |
![]() | CopyFrom |
Copies the property values from a given metafile command. The InvokeCommandChanged is invoked at the end.
(Inherited from BaseMetafileCommand) |
![]() | CreateArc |
Creates an arc from the quadratic curve.
(Overrides BaseMetafileCommandCreateArc(Int32, Int32, Double)) |
![]() | CreateCubicCurves |
Creates a cubic curve from the quadratic curve.
(Overrides BaseMetafileCommandCreateCubicCurves) |
![]() | CreateEllipse |
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 ValueThe calculated elliptical arc.(Inherited from BaseMetafileCommand) |
![]() | CreatePolyline |
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 BaseMetafileCommandCreatePolyline(Int32, Double)) |
![]() | CreateQuadraticCurves |
Converts the command into a list of up to eight quadratic curves
approximating the original command element. Available only for arcs.
(Inherited from BaseMetafileCommand) |
![]() | DoCompareWith | (Inherited from BaseMetafileCommand) |
![]() | DoCopyFrom |
Copies extra property values from a given metafile command. This method is called from CopyFrom(BaseMetafileCommand).
(Overrides BaseMetafileCommandDoCopyFrom(BaseMetafileCommand)) |
![]() | DoInvert | (Overrides BaseMetafileCommandDoInvert) |
![]() | DoInvokeCommandChanged | (Inherited from BaseMetafileCommand) |
![]() | DoSplitByLength | (Overrides BaseMetafileCommandDoSplitByLength(Double, dmat4)) |
![]() | DoTransform | (Overrides BaseMetafileCommandDoTransform(dmat4)) |
![]() | DoUpdateEndPoint | (Overrides BaseMetafileCommandDoUpdateEndPoint(dvec3)) |
![]() | GenerateCommandPoints |
Generates a list of points that are significant to the shape.
(Overrides BaseMetafileCommandGenerateCommandPoints) |
![]() | GetTransformedLength |
Returns the length of the transformed vector.
(Overrides BaseMetafileCommandGetTransformedLength(dmat4)) |
![]() | InvokeCommandChanged | (Inherited from BaseMetafileCommand) |
![]() | IsEqual |
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 BaseMetafileCommandIsEqual(Object, Double)) |
![]() | SetZCoordsToZero |
Sets all z-coordinates in this object to zero.
(Overrides BaseMetafileCommandSetZCoordsToZero) |
![]() | ShowUI(String) | (Inherited from BaseMetafileCommand) |
![]() | ShowUI(String, PropertyMask) | (Overrides BaseMetafileCommandShowUI(String, PropertyMask)) |
![]() | ShowUICallback | (Overrides BaseMetafileCommandShowUICallback(BaseMetafileCommandView)) |
![]() | SplitByLength |
Splits the command at the provided length.
(Inherited from BaseMetafileCommand) |
![]() | SplitIntoTwo |
Creates two adjacent commands of the same type at the same position
in a way that the two commands can replace the original.
(Overrides BaseMetafileCommandSplitIntoTwo) |
![]() | ToString | Returns a string that represents the current object. (Overrides ObjectToString) |
![]() | UpdateEndPoint |
Updates the start and end points of this command based on a given starting point.
(Inherited from BaseMetafileCommand) |
Name | Description | |
---|---|---|
![]() | CommandChanged |
Raised whenever a metafile command is changed.
(Inherited from BaseMetafileCommand) |