Lines Matching refs:SkDPoint
80 struct SkDPoint { struct
89 friend SkDVector operator-(const SkDPoint& a, const SkDPoint& b); argument
91 friend bool operator==(const SkDPoint& a, const SkDPoint& b) {
95 friend bool operator!=(const SkDPoint& a, const SkDPoint& b) {
117 SkDPoint operator+(const SkDVector& v) {
118 SkDPoint result = *this; argument
124 SkDPoint operator-(const SkDVector& v) {
125 SkDPoint result = *this; argument
133 bool approximatelyEqual(const SkDPoint& a) const { in approximatelyEqual() argument
148 SkDPoint dA; in approximatelyEqual() argument
160 SkDPoint dA, dB; in ApproximatelyEqual() argument
180 double distance(const SkDPoint& a) const { in distance() argument
185 double distanceSquared(const SkDPoint& a) const { in distanceSquared() argument
190 static SkDPoint Mid(const SkDPoint& a, const SkDPoint& b) { in Mid() argument
191 SkDPoint result; in Mid()
197 bool roughlyEqual(const SkDPoint& a) const { in roughlyEqual() argument
212 SkDPoint dA, dB; in RoughlyEqual() argument