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

#include <imgui_internal.h>

Public Member Functions

void Add (const ImVec2 &p)
 
void Add (const ImRect &r)
 
void ClipWith (const ImRect &r)
 
void ClipWithFull (const ImRect &r)
 
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
 
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 441 of file imgui_internal.h.

Constructor & Destructor Documentation

◆ ImRect() [1/4]

ImRect::ImRect ( )
inline

Definition at line 446 of file imgui_internal.h.

◆ ImRect() [2/4]

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

Definition at line 447 of file imgui_internal.h.

◆ ImRect() [3/4]

ImRect::ImRect ( const ImVec4 v)
inline

Definition at line 448 of file imgui_internal.h.

◆ ImRect() [4/4]

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

Definition at line 449 of file imgui_internal.h.

Member Function Documentation

◆ Add() [1/2]

void ImRect::Add ( const ImVec2 p)
inline

Definition at line 462 of file imgui_internal.h.

◆ Add() [2/2]

void ImRect::Add ( const ImRect r)
inline

Definition at line 463 of file imgui_internal.h.

◆ ClipWith()

void ImRect::ClipWith ( const ImRect r)
inline

Definition at line 469 of file imgui_internal.h.

◆ ClipWithFull()

void ImRect::ClipWithFull ( const ImRect r)
inline

Definition at line 470 of file imgui_internal.h.

◆ Contains() [1/2]

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

Definition at line 459 of file imgui_internal.h.

◆ Contains() [2/2]

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

Definition at line 460 of file imgui_internal.h.

◆ Expand() [1/2]

void ImRect::Expand ( const float  amount)
inline

Definition at line 464 of file imgui_internal.h.

◆ Expand() [2/2]

void ImRect::Expand ( const ImVec2 amount)
inline

Definition at line 465 of file imgui_internal.h.

◆ Floor()

void ImRect::Floor ( )
inline

Definition at line 471 of file imgui_internal.h.

◆ GetBL()

ImVec2 ImRect::GetBL ( ) const
inline

Definition at line 457 of file imgui_internal.h.

◆ GetBR()

ImVec2 ImRect::GetBR ( ) const
inline

Definition at line 458 of file imgui_internal.h.

◆ GetCenter()

ImVec2 ImRect::GetCenter ( ) const
inline

Definition at line 451 of file imgui_internal.h.

◆ GetHeight()

float ImRect::GetHeight ( ) const
inline

Definition at line 454 of file imgui_internal.h.

◆ GetSize()

ImVec2 ImRect::GetSize ( ) const
inline

Definition at line 452 of file imgui_internal.h.

◆ GetTL()

ImVec2 ImRect::GetTL ( ) const
inline

Definition at line 455 of file imgui_internal.h.

◆ GetTR()

ImVec2 ImRect::GetTR ( ) const
inline

Definition at line 456 of file imgui_internal.h.

◆ GetWidth()

float ImRect::GetWidth ( ) const
inline

Definition at line 453 of file imgui_internal.h.

◆ IsInverted()

bool ImRect::IsInverted ( ) const
inline

Definition at line 472 of file imgui_internal.h.

◆ Overlaps()

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

Definition at line 461 of file imgui_internal.h.

◆ Translate()

void ImRect::Translate ( const ImVec2 d)
inline

Definition at line 466 of file imgui_internal.h.

◆ TranslateX()

void ImRect::TranslateX ( float  dx)
inline

Definition at line 467 of file imgui_internal.h.

◆ TranslateY()

void ImRect::TranslateY ( float  dy)
inline

Definition at line 468 of file imgui_internal.h.

Member Data Documentation

◆ Max

ImVec2 ImRect::Max

Definition at line 444 of file imgui_internal.h.

◆ Min

ImVec2 ImRect::Min

Definition at line 443 of file imgui_internal.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23