Class: ImRect
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImRect
- Defined in:
- lib/imgui.rb
Instance Method Summary collapse
- #Add(p) ⇒ Object
- #AddImRect(r) ⇒ Object
- #AddX(x) ⇒ Object
- #AddY(y) ⇒ Object
- #ClipWith(r) ⇒ Object
- #ClipWithFull(r) ⇒ Object
- #Contains(p) ⇒ Object
- #ContainsImRect(r) ⇒ Object
- #ContainsWithPad(p, pad) ⇒ Object
- #Expand(amount) ⇒ Object
- #ExpandImVec2(amount) ⇒ Object
- #GetArea ⇒ Object
- #GetBL ⇒ Object
- #GetBR ⇒ Object
- #GetCenter ⇒ Object
- #GetHeight ⇒ Object
- #GetSize ⇒ Object
- #GetTL ⇒ Object
- #GetTR ⇒ Object
- #GetWidth ⇒ Object
- #IsInverted ⇒ Object
- #Overlaps(r) ⇒ Object
- #ToVec4 ⇒ Object
- #Translate(d) ⇒ Object
- #TranslateX(dx) ⇒ Object
- #TranslateY(dy) ⇒ Object
Instance Method Details
#Add(p) ⇒ Object
3495 3496 3497 |
# File 'lib/imgui.rb', line 3495 def Add(p) ImGui::ImRect_Add(self, p) end |
#AddImRect(r) ⇒ Object
3499 3500 3501 |
# File 'lib/imgui.rb', line 3499 def AddImRect(r) ImGui::ImRect_AddImRect(self, r) end |
#AddX(x) ⇒ Object
3503 3504 3505 |
# File 'lib/imgui.rb', line 3503 def AddX(x) ImGui::ImRect_AddX(self, x) end |
#AddY(y) ⇒ Object
3507 3508 3509 |
# File 'lib/imgui.rb', line 3507 def AddY(y) ImGui::ImRect_AddY(self, y) end |
#ClipWith(r) ⇒ Object
3531 3532 3533 |
# File 'lib/imgui.rb', line 3531 def ClipWith(r) ImGui::ImRect_ClipWith(self, r) end |
#ClipWithFull(r) ⇒ Object
3535 3536 3537 |
# File 'lib/imgui.rb', line 3535 def ClipWithFull(r) ImGui::ImRect_ClipWithFull(self, r) end |
#Contains(p) ⇒ Object
3479 3480 3481 |
# File 'lib/imgui.rb', line 3479 def Contains(p) ImGui::ImRect_Contains(self, p) end |
#ContainsImRect(r) ⇒ Object
3483 3484 3485 |
# File 'lib/imgui.rb', line 3483 def ContainsImRect(r) ImGui::ImRect_ContainsImRect(self, r) end |
#ContainsWithPad(p, pad) ⇒ Object
3487 3488 3489 |
# File 'lib/imgui.rb', line 3487 def ContainsWithPad(p, pad) ImGui::ImRect_ContainsWithPad(self, p, pad) end |
#Expand(amount) ⇒ Object
3511 3512 3513 |
# File 'lib/imgui.rb', line 3511 def Expand(amount) ImGui::ImRect_Expand(self, amount) end |
#ExpandImVec2(amount) ⇒ Object
3515 3516 3517 |
# File 'lib/imgui.rb', line 3515 def ExpandImVec2(amount) ImGui::ImRect_ExpandImVec2(self, amount) end |
#GetArea ⇒ Object
3459 3460 3461 |
# File 'lib/imgui.rb', line 3459 def GetArea() ImGui::ImRect_GetArea(self) end |
#GetBL ⇒ Object
3471 3472 3473 |
# File 'lib/imgui.rb', line 3471 def GetBL() ImGui::ImRect_GetBL(self) end |
#GetBR ⇒ Object
3475 3476 3477 |
# File 'lib/imgui.rb', line 3475 def GetBR() ImGui::ImRect_GetBR(self) end |
#GetCenter ⇒ Object
3443 3444 3445 |
# File 'lib/imgui.rb', line 3443 def GetCenter() ImGui::ImRect_GetCenter(self) end |
#GetHeight ⇒ Object
3455 3456 3457 |
# File 'lib/imgui.rb', line 3455 def GetHeight() ImGui::ImRect_GetHeight(self) end |
#GetSize ⇒ Object
3447 3448 3449 |
# File 'lib/imgui.rb', line 3447 def GetSize() ImGui::ImRect_GetSize(self) end |
#GetTL ⇒ Object
3463 3464 3465 |
# File 'lib/imgui.rb', line 3463 def GetTL() ImGui::ImRect_GetTL(self) end |
#GetTR ⇒ Object
3467 3468 3469 |
# File 'lib/imgui.rb', line 3467 def GetTR() ImGui::ImRect_GetTR(self) end |
#GetWidth ⇒ Object
3451 3452 3453 |
# File 'lib/imgui.rb', line 3451 def GetWidth() ImGui::ImRect_GetWidth(self) end |
#IsInverted ⇒ Object
3539 3540 3541 |
# File 'lib/imgui.rb', line 3539 def IsInverted() ImGui::ImRect_IsInverted(self) end |
#Overlaps(r) ⇒ Object
3491 3492 3493 |
# File 'lib/imgui.rb', line 3491 def Overlaps(r) ImGui::ImRect_Overlaps(self, r) end |
#ToVec4 ⇒ Object
3543 3544 3545 |
# File 'lib/imgui.rb', line 3543 def ToVec4() ImGui::ImRect_ToVec4(self) end |
#Translate(d) ⇒ Object
3519 3520 3521 |
# File 'lib/imgui.rb', line 3519 def Translate(d) ImGui::ImRect_Translate(self, d) end |
#TranslateX(dx) ⇒ Object
3523 3524 3525 |
# File 'lib/imgui.rb', line 3523 def TranslateX(dx) ImGui::ImRect_TranslateX(self, dx) end |
#TranslateY(dy) ⇒ Object
3527 3528 3529 |
# File 'lib/imgui.rb', line 3527 def TranslateY(dy) ImGui::ImRect_TranslateY(self, dy) end |