Ejemplo n.º 1
0
 public bool Equals(CharacterMetric other)
 {
     return(BoundingBox.Equals(other.BoundingBox) &&
            CharacterCode == other.CharacterCode &&
            Ligatures.Equals(other.Ligatures) &&
            Name == other.Name &&
            VV == other.VV &&
            W == other.W &&
            W0 == other.W0 &&
            W0X == other.W0X &&
            W0Y == other.W0Y &&
            W1 == other.W1 &&
            W1X == other.W1X &&
            W1Y == other.W1Y &&
            WX == other.WX &&
            WY == other.WY);
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     return(BoundingBox.GetHashCode() ^ CharacterCode.GetHashCode() ^ Ligatures.GetHashCode() ^ Name.GetHashCode() ^
            VV.GetHashCode() ^ W.GetHashCode() ^ W0.GetHashCode() ^ W0X.GetHashCode() ^ W0Y.GetHashCode() ^ W1.GetHashCode() ^
            W1X.GetHashCode() ^ W1Y.GetHashCode() ^ WX.GetHashCode() ^ WY.GetHashCode());
 }