类Point在当前页面Pointtouchgfx/hal/Types.hppA simple struct containing coordinates. Public Functionsint32_tdist_sqr(struct Point & o)The squared distance from this Point to another Point.Public Attributesint32_txThe x coordinate.int32_tyThe y coordinate.Public Functions Documentationdist_sqrint32_t dist_sqr(struct Point &o)The squared distance from this Point to another Point. Parameters:oThe point to get the squared distance to.Returns:The squared distance. Public Attributes Documentationxint32_t x The x coordinate. yint32_t y The y coordinate.