Searched defs:DPoint (Results 1 – 2 of 2) sorted by relevance
117 struct DPoint { struct118 DPoint(double x_, double y_) : x{x_}, y{y_} {} in DPoint() argument119 DPoint(SkPoint p) : x{p.fX}, y{p.fY} {} in DPoint() function120 double x, y;
37 struct DPoint { struct38 double fX, fY;40 double distanceSquared(DPoint p) const { in distanceSquared()46 double distance(DPoint p) const { return sqrt(this->distanceSquared(p)); } in distance()