Lines Matching refs:lhs
90 int Font::FontDescription::compare(const Font::FontDescription& lhs, in compare() argument
92 int deltaInt = int(lhs.mFontId) - int(rhs.mFontId); in compare()
95 if (lhs.mFontSize < rhs.mFontSize) return -1; in compare()
96 if (lhs.mFontSize > rhs.mFontSize) return +1; in compare()
98 if (lhs.mItalicStyle < rhs.mItalicStyle) return -1; in compare()
99 if (lhs.mItalicStyle > rhs.mItalicStyle) return +1; in compare()
101 deltaInt = int(lhs.mFlags) - int(rhs.mFlags); in compare()
104 if (lhs.mScaleX < rhs.mScaleX) return -1; in compare()
105 if (lhs.mScaleX > rhs.mScaleX) return +1; in compare()
107 deltaInt = int(lhs.mStyle) - int(rhs.mStyle); in compare()
110 if (lhs.mStrokeWidth < rhs.mStrokeWidth) return -1; in compare()
111 if (lhs.mStrokeWidth > rhs.mStrokeWidth) return +1; in compare()
113 deltaInt = int(lhs.mAntiAliasing) - int(rhs.mAntiAliasing); in compare()
116 deltaInt = int(lhs.mHinting) - int(rhs.mHinting); in compare()
119 if (lhs.mLookupTransform[SkMatrix::kMScaleX] < in compare()
121 if (lhs.mLookupTransform[SkMatrix::kMScaleX] > in compare()
124 if (lhs.mLookupTransform[SkMatrix::kMScaleY] < in compare()
126 if (lhs.mLookupTransform[SkMatrix::kMScaleY] > in compare()