constImVec2off=ImVec2(ImMax(0.0f,size.x-label_size.x)*0.5f,ImMax(0.0f,size.y-label_size.y)*0.5f);// Center (only applies if we explicitly gave a size bigger than the text size, which isn't the common path)
RenderTextClipped(bb.Min+off,label,NULL,&label_size,bb.Max);// Render clip (only applies if we explicitly gave a size smaller than the text size, which isn't common)