Searched refs:itemHalfWidth (Results 1 – 1 of 1) sorted by relevance
233 auto itemHalfWidth = itemWidth * 0.5 * INDICATOR_ZOOM_IN_SCALE; in PaintPressIndicator() local238 itemHalfSizes.emplace_back(itemHalfWidth); in PaintPressIndicator()433 float itemHalfWidth = itemHalfSizes[ITEM_HALF_WIDTH]; in isHoverPoint() local436 itemHalfWidth = itemHalfSizes[SELECTED_ITEM_HALF_WIDTH]; in isHoverPoint()439 return hoverPoint.GetX() >= (tempLeftCenterX - itemHalfWidth) && (hoverPoint.GetX() <= in isHoverPoint()440 …(tempRightCenterX + itemHalfWidth)) && (hoverPoint.GetY() >= (tempLeftCenterY - itemHalfHeight)) && in isHoverPoint()