Lines Matching defs:center
23 static void GetCheckPoints(Point center, std::vector<Point> &points)
26 points.push_back(center);
27 points.push_back({center.x + STEP, center.y});
28 points.push_back({center.x + STEP, center.y + STEP});
29 points.push_back({center.x + STEP, center.y - STEP});
30 points.push_back({center.x, center.y + STEP});
31 points.push_back({center.x - STEP, center.y});
32 points.push_back({center.x - STEP, center.y - STEP});
33 points.push_back({center.x - STEP, center.y + STEP});
34 points.push_back({center.x, center.y - STEP});
95 GetCheckPoints({RECT.x + RECT.w / MID_POS, RECT.y + RECT.h / MID_POS}, points); // center point