Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public void Density(PointD value)
 {
     _NativeInstance.Density(value.ToString());
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 5
0
 public void PathQuadraticCurveToRel(PointD controlPoint, PointD endPoint) => _nativeInstance.PathQuadraticCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 13
0
 public void PathSmoothQuadraticCurveToAbs(PointD endPoint)
 {
     _nativeInstance.PathSmoothQuadraticCurveToAbs(endPoint.X, endPoint.Y);
 }
Ejemplo n.º 14
0
 public void PathSmoothCurveToAbs(PointD controlPoint, PointD endPoint) => _nativeInstance.PathSmoothCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 18
0
 public void PathQuadraticCurveToAbs(PointD controlPoint, PointD endPoint)
 {
     _NativeInstance.PathQuadraticCurveToAbs(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 20
0
 public void PathSmoothCurveToRel(PointD controlPoint, PointD endPoint)
 {
     _NativeInstance.PathSmoothCurveToRel(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 22
0
 public void PathSmoothQuadraticCurveToRel(PointD endPoint)
 {
     _NativeInstance.PathSmoothQuadraticCurveToRel(endPoint.X, endPoint.Y);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);