3 instantiations of ContourPoint
System.Speech (3)
Internal\Synthesis\SSmlParser.cs (3)
1560
points.Add(new
ContourPoint
(0, target.Number, ContourPointChangeType.Hz));
1575
points.Add(new
ContourPoint
(timePosition.Number, target.Number, (hz ? ContourPointChangeType.Hz : ContourPointChangeType.Percentage)));
1593
points.Add(new
ContourPoint
(1, points[points.Count - 1].Change, points[points.Count - 1].ChangeType));
13 references to ContourPoint
System.Speech (13)
Internal\Synthesis\SSmlParser.cs (2)
1520
private static
ContourPoint
[]? ParseContour(string contour)
1523
List<
ContourPoint
> points = new();
Synthesis\TTSEngine\TTSEngineTypes.cs (11)
281
public
ContourPoint
[]? GetContourPoints() { return _contourPoints; }
282
public void SetContourPoints(
ContourPoint
[] points)
286
_contourPoints = (
ContourPoint
[])points.Clone();
312
internal
ContourPoint
[]? _contourPoints;
316
public struct ContourPoint : IEquatable<
ContourPoint
>
327
public static bool operator ==(
ContourPoint
point1,
ContourPoint
point2)
331
public static bool operator !=(
ContourPoint
point1,
ContourPoint
point2)
335
public bool Equals(
ContourPoint
other)
341
if (obj is not
ContourPoint
cp)