override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/shaper/RunInfo.kt [44:54]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is RunInfo) return false
        if (_fontPtr != other._fontPtr) return false
        if (bidiLevel != other.bidiLevel) return false
        if (advanceX.compareTo(other.advanceX) != 0) return false
        if (advanceY.compareTo(other.advanceY) != 0) return false
        if (glyphCount != other.glyphCount) return false
        if (rangeBegin != other.rangeBegin) return false
        return rangeSize == other.rangeSize
    }