示例#1
0
 /// <summary>
 /// Applies the PathQuadraticCurveToAbs operation to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPoint">Coordinate of control point.</param>
 /// <param name="end">Coordinate of final point.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public IPaths <QuantumType> QuadraticCurveToAbs(PointD controlPoint, PointD end)
 {
     _paths.Add(new PathQuadraticCurveToAbs(controlPoint, end));
     return(this);
 }
示例#2
0
 public void Density(PointD value)
 {
     _NativeInstance.Density(value.ToString());
 }
示例#3
0
 /// <summary>
 /// Applies the PathMoveToRel operation to the <see cref="Paths" />.
 /// </summary>
 /// <param name="coordinate">The coordinate to use.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public IPaths <QuantumType> MoveToRel(PointD coordinate)
 {
     _paths.Add(new PathMoveToRel(coordinate));
     return(this);
 }
示例#4
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathSmoothQuadraticCurveToRel" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="end">Coordinate of final point</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths SmoothQuadraticCurveToRel(PointD end)
 {
     _Paths.Add(new PathSmoothQuadraticCurveToRel(end));
     return(this);
 }
示例#5
0
 public void PathQuadraticCurveToRel(PointD controlPoint, PointD endPoint) => _nativeInstance.PathQuadraticCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
示例#6
0
 /// <summary>
 /// Applies the PathCurveToAbs operation to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPointStart">Coordinate of control point for curve beginning.</param>
 /// <param name="controlPointEnd">Coordinate of control point for curve ending.</param>
 /// <param name="end">Coordinate of the end of the curve.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public IPaths <QuantumType> CurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end)
 {
     _paths.Add(new PathCurveToAbs(controlPointStart, controlPointEnd, end));
     return(this);
 }
示例#7
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathQuadraticCurveToRel" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPoint">Coordinate of control point</param>
 /// <param name="end">Coordinate of final point</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths QuadraticCurveToRel(PointD controlPoint, PointD end)
 {
     _Paths.Add(new PathQuadraticCurveToRel(controlPoint, end));
     return(this);
 }
示例#8
0
 /// <summary>
 /// Creates a new DrawableDensity instance.
 /// </summary>
 /// <param name="pointDensity">The vertical and horizontal resolution.</param>
 public Drawables Density(PointD pointDensity)
 {
     _Drawables.Add(new DrawableDensity(pointDensity));
     return(this);
 }
示例#9
0
 /// <summary>
 /// Applies the DrawableDensity operation to the <see cref="Drawables" />.
 /// </summary>
 /// <param name="pointDensity">The vertical and horizontal resolution.</param>
 /// <returns>The <see cref="Drawables" /> instance.</returns>
 public IDrawables <QuantumType> Density(PointD pointDensity)
 {
     _drawables.Add(new DrawableDensity(pointDensity));
     return(this);
 }
示例#10
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathMoveToAbs" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="coordinate">The coordinate to use.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths MoveToAbs(PointD coordinate)
 {
     _paths.Add(new PathMoveToAbs(coordinate));
     return(this);
 }
示例#11
0
 ///<summary>
 /// Initializes a new instance of the PathCurveToAbs class.
 ///</summary>
 ///<param name="controlPointStart">Coordinate of control point for curve beginning</param>
 ///<param name="controlPointEnd">Coordinate of control point for curve ending</param>
 ///<param name="end">Coordinate of the end of the curve</param>
 public PathCurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end)
 {
     _ControlPointStart = controlPointStart;
     _ControlPointEnd   = controlPointEnd;
     _End = end;
 }
示例#12
0
 ///<summary>
 /// Initializes a new instance of the PathMoveToRel class.
 ///</summary>
 ///<param name="coordinate">The coordinate to use.</param>
 public PathMoveToRel(PointD coordinate)
 {
     _Coordinate = coordinate;
 }
示例#13
0
 public void PathSmoothQuadraticCurveToAbs(PointD endPoint)
 {
     _nativeInstance.PathSmoothQuadraticCurveToAbs(endPoint.X, endPoint.Y);
 }
示例#14
0
 public void PathSmoothCurveToAbs(PointD controlPoint, PointD endPoint) => _nativeInstance.PathSmoothCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
示例#15
0
 /// <summary>
 /// Applies the PathSmoothCurveToRel operation to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPoint">Coordinate of second point.</param>
 /// <param name="end">Coordinate of final point.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public IPaths <QuantumType> SmoothCurveToRel(PointD controlPoint, PointD end)
 {
     _paths.Add(new PathSmoothCurveToRel(controlPoint, end));
     return(this);
 }
示例#16
0
 public void PathCurveToRel(PointD controlPointStart, PointD controlPointEnd, PointD endPoint)
 {
     _NativeInstance.PathCurveToRel(controlPointStart.X, controlPointStart.Y, controlPointEnd.X, controlPointEnd.Y, endPoint.X, endPoint.Y);
 }
示例#17
0
 /// <summary>
 /// Applies the PathSmoothQuadraticCurveToRel operation to the <see cref="Paths" />.
 /// </summary>
 /// <param name="end">Coordinate of final point.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public IPaths <QuantumType> SmoothQuadraticCurveToRel(PointD end)
 {
     _paths.Add(new PathSmoothQuadraticCurveToRel(end));
     return(this);
 }
示例#18
0
 public void PathQuadraticCurveToAbs(PointD controlPoint, PointD endPoint)
 {
     _NativeInstance.PathQuadraticCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
 }
示例#19
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathMoveToRel" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="coordinate">The coordinate to use.</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths MoveToRel(PointD coordinate)
 {
     _Paths.Add(new PathMoveToRel(coordinate));
     return(this);
 }
示例#20
0
 public void PathSmoothCurveToRel(PointD controlPoint, PointD endPoint)
 {
     _NativeInstance.PathSmoothCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
 }
示例#21
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathSmoothCurveToRel" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPoint">Coordinate of second point</param>
 /// <param name="end">Coordinate of final point</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths SmoothCurveToRel(PointD controlPoint, PointD end)
 {
     _Paths.Add(new PathSmoothCurveToRel(controlPoint, end));
     return(this);
 }
示例#22
0
 public void PathSmoothQuadraticCurveToRel(PointD endPoint)
 {
     _NativeInstance.PathSmoothQuadraticCurveToRel(endPoint.X, endPoint.Y);
 }
示例#23
0
 /// <summary>
 /// Adds a new instance of the <see cref="PathCurveToAbs" /> class to the <see cref="Paths" />.
 /// </summary>
 /// <param name="controlPointStart">Coordinate of control point for curve beginning</param>
 /// <param name="controlPointEnd">Coordinate of control point for curve ending</param>
 /// <param name="end">Coordinate of the end of the curve</param>
 /// <returns>The <see cref="Paths" /> instance.</returns>
 public Paths CurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD end)
 {
     _Paths.Add(new PathCurveToAbs(controlPointStart, controlPointEnd, end));
     return(this);
 }
示例#24
0
 public void PathCurveToAbs(PointD controlPointStart, PointD controlPointEnd, PointD endPoint) => _nativeInstance.PathCurveToAbs(controlPointStart.X, controlPointStart.Y, controlPointEnd.X, controlPointEnd.Y, endPoint.X, endPoint.Y);