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

#include <imgui_internal.h>

Public Member Functions

void Add (const ImRect &r)
 
void Add (const ImVec2 &p)
 
void ClipWith (const ImRect &r)
 
void ClipWithFull (const ImRect &r)
 
bool Contains (const ImRect &r) const
 
bool Contains (const ImVec2 &p) const
 
void Expand (const float amount)
 
void Expand (const ImVec2 &amount)
 
void Floor ()
 
ImVec2 GetBL () const
 
ImVec2 GetBR () const
 
ImVec2 GetCenter () 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 IsInverted () const
 
bool Overlaps (const ImRect &r) const
 
void Translate (const ImVec2 &d)
 
void TranslateX (float dx)
 
void TranslateY (float dy)
 

Public Attributes

ImVec2 Max
 
ImVec2 Min
 

Detailed Description

Definition at line 684 of file imgui_internal.h.

Constructor & Destructor Documentation

◆ ImRect() [1/4]

ImRect::ImRect ( )
inline

Definition at line 689 of file imgui_internal.h.

◆ ImRect() [2/4]

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

Definition at line 690 of file imgui_internal.h.

◆ ImRect() [3/4]

ImRect::ImRect ( const ImVec4 v)
inline

Definition at line 691 of file imgui_internal.h.

◆ ImRect() [4/4]

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

Definition at line 692 of file imgui_internal.h.

Member Function Documentation

◆ Add() [1/2]

void ImRect::Add ( const ImRect r)
inline

Definition at line 706 of file imgui_internal.h.

◆ Add() [2/2]

void ImRect::Add ( const ImVec2 p)
inline

Definition at line 705 of file imgui_internal.h.

◆ ClipWith()

void ImRect::ClipWith ( const ImRect r)
inline

Definition at line 712 of file imgui_internal.h.

◆ ClipWithFull()

void ImRect::ClipWithFull ( const ImRect r)
inline

Definition at line 713 of file imgui_internal.h.

◆ Contains() [1/2]

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

Definition at line 703 of file imgui_internal.h.

◆ Contains() [2/2]

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

Definition at line 702 of file imgui_internal.h.

◆ Expand() [1/2]

void ImRect::Expand ( const float  amount)
inline

Definition at line 707 of file imgui_internal.h.

◆ Expand() [2/2]

void ImRect::Expand ( const ImVec2 amount)
inline

Definition at line 708 of file imgui_internal.h.

◆ Floor()

void ImRect::Floor ( )
inline

Definition at line 714 of file imgui_internal.h.

◆ GetBL()

ImVec2 ImRect::GetBL ( ) const
inline

Definition at line 700 of file imgui_internal.h.

◆ GetBR()

ImVec2 ImRect::GetBR ( ) const
inline

Definition at line 701 of file imgui_internal.h.

◆ GetCenter()

ImVec2 ImRect::GetCenter ( ) const
inline

Definition at line 694 of file imgui_internal.h.

◆ GetHeight()

float ImRect::GetHeight ( ) const
inline

Definition at line 697 of file imgui_internal.h.

◆ GetSize()

ImVec2 ImRect::GetSize ( ) const
inline

Definition at line 695 of file imgui_internal.h.

◆ GetTL()

ImVec2 ImRect::GetTL ( ) const
inline

Definition at line 698 of file imgui_internal.h.

◆ GetTR()

ImVec2 ImRect::GetTR ( ) const
inline

Definition at line 699 of file imgui_internal.h.

◆ GetWidth()

float ImRect::GetWidth ( ) const
inline

Definition at line 696 of file imgui_internal.h.

◆ IsInverted()

bool ImRect::IsInverted ( ) const
inline

Definition at line 715 of file imgui_internal.h.

◆ Overlaps()

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

Definition at line 704 of file imgui_internal.h.

◆ Translate()

void ImRect::Translate ( const ImVec2 d)
inline

Definition at line 709 of file imgui_internal.h.

◆ TranslateX()

void ImRect::TranslateX ( float  dx)
inline

Definition at line 710 of file imgui_internal.h.

◆ TranslateY()

void ImRect::TranslateY ( float  dy)
inline

Definition at line 711 of file imgui_internal.h.

Member Data Documentation

◆ Max

ImVec2 ImRect::Max

Definition at line 687 of file imgui_internal.h.

◆ Min

ImVec2 ImRect::Min

Definition at line 686 of file imgui_internal.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06