Lines Matching defs:thickness
2445 float thickness = ImMax(sz / 5.0f, 1.0f);
2446 sz -= thickness*0.5f;
2447 pos += ImVec2(thickness*0.25f, thickness*0.25f);
2455 window->DrawList->PathStroke(col, false, thickness);
4684 static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness)
4687 if (thickness == 0.0f) rect.Max -= ImVec2(1,1);
4688 if (border_n == 0) return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); // Top
4689 if (border_n == 1) return ImRect(rect.Max.x - thickness, rect.Min.y + perp_padding, rect.Max.x + thickness, rect.Max.y - perp_padding); // Right
4690 if (border_n == 2) return ImRect(rect.Min.x + perp_padding, rect.Max.y - thickness, rect.Max.x - perp_padding, rect.Max.y + thickness); // Bottom
4691 if (border_n == 3) return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x + thickness, rect.Max.y - perp_padding); // Left