def METHOD_NAME(self, painter, validation):
    """Draw Validation
    :param painter: The painter object to draw with
    :param validation: Validation proto
    """
    if validation.status == ValidationStatus.PASSING:
        painter.setPen(pg.mkPen(Colors.VALIDATION_PASSED_COLOR, width=3))
    if validation.status == ValidationStatus.FAILING:
        painter.setPen(pg.mkPen(Colors.VALIDATION_FAILED_COLOR, width=3))
    for circle in validation.geometry.circles:
        painter.drawEllipse(self.createCircle(circle.origin, circle.radius))
    for polygon in validation.geometry.polygons:
        polygon_points = [
            QtCore.QPoint(
                int(MILLIMETERS_PER_METER * point.x_meters),
                int(MILLIMETERS_PER_METER * point.y_meters),
            )
            for point in polygon.points
        ]
        poly = QtGui.QPolygon(polygon_points)
        painter.drawPolygon(poly)
    for segment in validation.geometry.segments:
        painter.drawLine(
            QtCore.QLine(
                int(segment.start.x_meters),
                int(segment.start.y_meters),
                int(segment.end.x_meters),
                int(segment.end.y_meters),
            )
        )