Public Member Functions | Public Attributes | List of all members
ImRect Struct Reference

#include <imgui_internal.h>

Public Member Functions

void Add (const ImVec2 &rhs)
 
void Add (const ImRect &rhs)
 
void Clip (const ImRect &clip)
 
bool Contains (const ImVec2 &p) const
 
bool Contains (const ImRect &r) const
 
void Expand (const float amount)
 
void Expand (const ImVec2 &amount)
 
void Floor ()
 
ImVec2 GetBL () const
 
ImVec2 GetBR () const
 
ImVec2 GetCenter () const
 
ImVec2 GetClosestPoint (ImVec2 p, bool on_edge) const
 
float GetHeight () const
 
ImVec2 GetSize () const
 
ImVec2 GetTL () const
 
ImVec2 GetTR () const
 
float GetWidth () const
 
 ImRect ()
 
 ImRect (const ImVec2 &min, const ImVec2 &max)
 
 ImRect (const ImVec4 &v)
 
 ImRect (float x1, float y1, float x2, float y2)
 
bool Overlaps (const ImRect &r) const
 
void Reduce (const ImVec2 &amount)
 

Public Attributes

ImVec2 Max
 
ImVec2 Min
 

Detailed Description

Definition at line 200 of file imgui_internal.h.

Constructor & Destructor Documentation

ImRect::ImRect ( )
inline

Definition at line 205 of file imgui_internal.h.

ImRect::ImRect ( const ImVec2 min,
const ImVec2 max 
)
inline

Definition at line 206 of file imgui_internal.h.

ImRect::ImRect ( const ImVec4 v)
inline

Definition at line 207 of file imgui_internal.h.

ImRect::ImRect ( float  x1,
float  y1,
float  x2,
float  y2 
)
inline

Definition at line 208 of file imgui_internal.h.

Member Function Documentation

void ImRect::Add ( const ImVec2 rhs)
inline

Definition at line 221 of file imgui_internal.h.

void ImRect::Add ( const ImRect rhs)
inline

Definition at line 222 of file imgui_internal.h.

void ImRect::Clip ( const ImRect clip)
inline

Definition at line 226 of file imgui_internal.h.

bool ImRect::Contains ( const ImVec2 p) const
inline

Definition at line 218 of file imgui_internal.h.

bool ImRect::Contains ( const ImRect r) const
inline

Definition at line 219 of file imgui_internal.h.

void ImRect::Expand ( const float  amount)
inline

Definition at line 223 of file imgui_internal.h.

void ImRect::Expand ( const ImVec2 amount)
inline

Definition at line 224 of file imgui_internal.h.

void ImRect::Floor ( )
inline

Definition at line 227 of file imgui_internal.h.

ImVec2 ImRect::GetBL ( ) const
inline

Definition at line 216 of file imgui_internal.h.

ImVec2 ImRect::GetBR ( ) const
inline

Definition at line 217 of file imgui_internal.h.

ImVec2 ImRect::GetCenter ( ) const
inline

Definition at line 210 of file imgui_internal.h.

ImVec2 ImRect::GetClosestPoint ( ImVec2  p,
bool  on_edge 
) const
inline

Definition at line 228 of file imgui_internal.h.

float ImRect::GetHeight ( ) const
inline

Definition at line 213 of file imgui_internal.h.

ImVec2 ImRect::GetSize ( ) const
inline

Definition at line 211 of file imgui_internal.h.

ImVec2 ImRect::GetTL ( ) const
inline

Definition at line 214 of file imgui_internal.h.

ImVec2 ImRect::GetTR ( ) const
inline

Definition at line 215 of file imgui_internal.h.

float ImRect::GetWidth ( ) const
inline

Definition at line 212 of file imgui_internal.h.

bool ImRect::Overlaps ( const ImRect r) const
inline

Definition at line 220 of file imgui_internal.h.

void ImRect::Reduce ( const ImVec2 amount)
inline

Definition at line 225 of file imgui_internal.h.

Member Data Documentation

ImVec2 ImRect::Max

Definition at line 203 of file imgui_internal.h.

ImVec2 ImRect::Min

Definition at line 202 of file imgui_internal.h.


The documentation for this struct was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32