Home | History | Annotate | Download | only in graphics

Lines Matching refs:IntPoint

23 #include "IntPoint.h"
31 static unsigned hash(const WebCore::IntPoint& p) { return WTF::intHash(static_cast<uint64_t>(p.x()) << 32 | p.y()); }
32 static bool equal(const WebCore::IntPoint& a, const WebCore::IntPoint& b) { return a == b; }
35 template<> struct HashTraits<WebCore::IntPoint> : GenericHashTraits<WebCore::IntPoint> {
37 static WebCore::IntPoint emptyValue() { return WebCore::IntPoint(0, std::numeric_limits<int>::min()); }
39 static void constructDeletedValue(WebCore::IntPoint& slot) { slot = WebCore::IntPoint(std::numeric_limits<int>::min(), 0); }
40 static bool isDeletedValue(const WebCore::IntPoint& slot) { return slot == WebCore::IntPoint(std::numeric_limits<int>::min(), 0); }
42 template<> struct DefaultHash<WebCore::IntPoint> {