Home
last modified time | relevance | path

Searched defs:ImRect (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_internal.h480 struct IMGUI_API ImRect struct
485ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} in ImRect() argument
486ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} in ImRect() argument
487ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect() function
488ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} in ImRect() function
499 …bool Contains(const ImRect& r) const { return r.Min.x >= Min.x && r.Min.y >= Min.y && r… in Contains() argument
500 …bool Overlaps(const ImRect& r) const { return r.Min.y < Max.y && r.Max.y > Min.y && r… in Overlaps() argument
502 …void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y … in Add() argument
508 …void ClipWith(const ImRect& r) { Min = ImMax(Min, r.Min); Max = ImMin(Max, r.Max)… in ClipWith() argument
509 …void ClipWithFull(const ImRect& r) { Min = ImClamp(Min, r.Min, r.Max); Max = ImClamp(… in ClipWithFull() argument
[all …]