Lines Matching refs:SkDPoint
94 struct SkDPoint { struct
103 friend SkDVector operator-(const SkDPoint& a, const SkDPoint& b) { argument
107 friend bool operator==(const SkDPoint& a, const SkDPoint& b) {
111 friend bool operator!=(const SkDPoint& a, const SkDPoint& b) {
133 SkDPoint operator+(const SkDVector& v) {
134 SkDPoint result = *this; argument
140 SkDPoint operator-(const SkDVector& v) {
141 SkDPoint result = *this; argument
149 bool approximatelyDEqual(const SkDPoint& a) const { in approximatelyDEqual() argument
164 SkDPoint dA; in approximatelyDEqual() argument
169 bool approximatelyEqual(const SkDPoint& a) const { in approximatelyEqual() argument
184 SkDPoint dA; in approximatelyEqual() argument
196 SkDPoint dA, dB; in ApproximatelyEqual() argument
216 double distance(const SkDPoint& a) const { in distance() argument
221 double distanceSquared(const SkDPoint& a) const { in distanceSquared() argument
226 static SkDPoint Mid(const SkDPoint& a, const SkDPoint& b) { in Mid() argument
227 SkDPoint result; in Mid()
233 bool roughlyEqual(const SkDPoint& a) const { in roughlyEqual() argument
248 SkDPoint dA, dB; in RoughlyEqual() argument