Click or drag to resize

VectorGraphicOptimizerReplaceStraightCurvesByLines Method

Overload List
 NameDescription
Public methodReplaceStraightCurvesByLines(VectorGraphicLayer, Double) Checks if the control point(s) of a cubic or quadratic curve are laying on the line defined by the curve's start and end point. If yes, the curve is replaced by a line.
Public methodReplaceStraightCurvesByLines(VectorGraphicPath, Double) Loops through all commands in the given path, checks all QuadraticCurveToMetafileCommands and CubicCurveToMetafileCommands and replaces them by lines if all control points are laying on the line defined by the curve's start and end point.
Top
See Also