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
3514 3515 3516 |
# File 'lib/imgui.rb', line 3514 def Add(p) ImGui::ImRect_Add(self, p) end |
#AddImRect(r) ⇒ Object
3518 3519 3520 |
# File 'lib/imgui.rb', line 3518 def AddImRect(r) ImGui::ImRect_AddImRect(self, r) end |
#AddX(x) ⇒ Object
3522 3523 3524 |
# File 'lib/imgui.rb', line 3522 def AddX(x) ImGui::ImRect_AddX(self, x) end |
#AddY(y) ⇒ Object
3526 3527 3528 |
# File 'lib/imgui.rb', line 3526 def AddY(y) ImGui::ImRect_AddY(self, y) end |
#ClipWith(r) ⇒ Object
3550 3551 3552 |
# File 'lib/imgui.rb', line 3550 def ClipWith(r) ImGui::ImRect_ClipWith(self, r) end |
#ClipWithFull(r) ⇒ Object
3554 3555 3556 |
# File 'lib/imgui.rb', line 3554 def ClipWithFull(r) ImGui::ImRect_ClipWithFull(self, r) end |
#Contains(p) ⇒ Object
3498 3499 3500 |
# File 'lib/imgui.rb', line 3498 def Contains(p) ImGui::ImRect_Contains(self, p) end |
#ContainsImRect(r) ⇒ Object
3502 3503 3504 |
# File 'lib/imgui.rb', line 3502 def ContainsImRect(r) ImGui::ImRect_ContainsImRect(self, r) end |
#ContainsWithPad(p, pad) ⇒ Object
3506 3507 3508 |
# File 'lib/imgui.rb', line 3506 def ContainsWithPad(p, pad) ImGui::ImRect_ContainsWithPad(self, p, pad) end |
#Expand(amount) ⇒ Object
3530 3531 3532 |
# File 'lib/imgui.rb', line 3530 def Expand(amount) ImGui::ImRect_Expand(self, amount) end |
#ExpandImVec2(amount) ⇒ Object
3534 3535 3536 |
# File 'lib/imgui.rb', line 3534 def ExpandImVec2(amount) ImGui::ImRect_ExpandImVec2(self, amount) end |
#GetArea ⇒ Object
3478 3479 3480 |
# File 'lib/imgui.rb', line 3478 def GetArea() ImGui::ImRect_GetArea(self) end |
#GetBL ⇒ Object
3490 3491 3492 |
# File 'lib/imgui.rb', line 3490 def GetBL() ImGui::ImRect_GetBL(self) end |
#GetBR ⇒ Object
3494 3495 3496 |
# File 'lib/imgui.rb', line 3494 def GetBR() ImGui::ImRect_GetBR(self) end |
#GetCenter ⇒ Object
3462 3463 3464 |
# File 'lib/imgui.rb', line 3462 def GetCenter() ImGui::ImRect_GetCenter(self) end |
#GetHeight ⇒ Object
3474 3475 3476 |
# File 'lib/imgui.rb', line 3474 def GetHeight() ImGui::ImRect_GetHeight(self) end |
#GetSize ⇒ Object
3466 3467 3468 |
# File 'lib/imgui.rb', line 3466 def GetSize() ImGui::ImRect_GetSize(self) end |
#GetTL ⇒ Object
3482 3483 3484 |
# File 'lib/imgui.rb', line 3482 def GetTL() ImGui::ImRect_GetTL(self) end |
#GetTR ⇒ Object
3486 3487 3488 |
# File 'lib/imgui.rb', line 3486 def GetTR() ImGui::ImRect_GetTR(self) end |
#GetWidth ⇒ Object
3470 3471 3472 |
# File 'lib/imgui.rb', line 3470 def GetWidth() ImGui::ImRect_GetWidth(self) end |
#IsInverted ⇒ Object
3558 3559 3560 |
# File 'lib/imgui.rb', line 3558 def IsInverted() ImGui::ImRect_IsInverted(self) end |
#Overlaps(r) ⇒ Object
3510 3511 3512 |
# File 'lib/imgui.rb', line 3510 def Overlaps(r) ImGui::ImRect_Overlaps(self, r) end |
#ToVec4 ⇒ Object
3562 3563 3564 |
# File 'lib/imgui.rb', line 3562 def ToVec4() ImGui::ImRect_ToVec4(self) end |
#Translate(d) ⇒ Object
3538 3539 3540 |
# File 'lib/imgui.rb', line 3538 def Translate(d) ImGui::ImRect_Translate(self, d) end |
#TranslateX(dx) ⇒ Object
3542 3543 3544 |
# File 'lib/imgui.rb', line 3542 def TranslateX(dx) ImGui::ImRect_TranslateX(self, dx) end |
#TranslateY(dy) ⇒ Object
3546 3547 3548 |
# File 'lib/imgui.rb', line 3546 def TranslateY(dy) ImGui::ImRect_TranslateY(self, dy) end |