/// <summary> /// Return a hashcode for this FontRenderContext. /// </summary> public override int HashCode() { int hash = Tx == null ? 0 : Tx.HashCode(); /* SunHints value objects have identity hashcode, so we can rely on * this to ensure that two equal FRC's have the same hashcode. */ if (Defaulting) { hash += AntiAliasingHint.HashCode(); hash += FractionalMetricsHint.HashCode(); } else { hash += AaHintValue.HashCode(); hash += FmHintValue.HashCode(); } return(hash); }
/// <summary> /// @since 1.6 /// </summary> public override int HashCode() { return(Transform_Renamed == null ? 0 : Transform_Renamed.HashCode()); }