Base |
The BaseMetafileCommand type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AreVecsEqual | Compares to dvec3 objects and returns true if each of their coordinates differs less than d. Needed in the derived classes to check for equality. |
![]() | CompareWith | |
![]() | CopyFrom | Copies the property values from a given metafile command. The InvokeCommandChanged is invoked at the end. |
![]() | CreateArc | Tries to approximate the command by a circular arc. |
![]() | CreateCubicCurves | Converts the command into a list of up to four cubic curves approximating the original command element. Available only for arcs. |
![]() | 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. |
![]() | 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. |
![]() | CreateQuadraticCurves | Converts the command into a list of up to eight quadratic curves approximating the original command element. Available only for arcs. |
![]() | DoCompareWith | |
![]() | DoCopyFrom | Copies extra property values from a given metafile command. This method is called from CopyFrom(BaseMetafileCommand). |
![]() | DoInvert | |
![]() | DoInvokeCommandChanged | |
![]() | DoSplitByLength | |
![]() | DoTransform | Transforms points in this metafile command, other than the end points. |
![]() | DoUpdateEndPoint | |
![]() | GenerateCommandPoints | Generates a list of points that are significant to the shape. |
![]() | GetTransformedLength | Returns the length of the transformed vector. |
![]() | InvokeCommandChanged | |
![]() | 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. |
![]() | SetZCoordsToZero | Sets all z-coordinates in this object to zero. |
![]() | ShowUI(String) | |
![]() | ShowUI(String, PropertyMask) | |
![]() | ShowUICallback | |
![]() | SplitByLength | Splits the command at the provided length. |
![]() | SplitIntoTwo | Creates two adjacent commands of the same type at the same position in a way that the two commands can replace the original. |
![]() | UpdateEndPoint | Updates the start and end points of this command based on a given starting point. |