зеркало из https://github.com/mozilla/moz-skia.git
add equals()
git-svn-id: http://skia.googlecode.com/svn/trunk@210 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
1220e1c28a
Коммит
f16c899a74
|
@ -37,6 +37,10 @@ template <typename T> struct SkTSize {
|
|||
fHeight = 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool equals(T w, T h) const {
|
||||
return fWidth == w && fHeight == h;
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
Загрузка…
Ссылка в новой задаче