Class: ImDrawList
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImDrawList
- Defined in:
- lib/imgui.rb
Instance Method Summary collapse
- #_CalcCircleAutoSegmentCount(radius) ⇒ Object
- #_ClearFreeMemory ⇒ Object
- #_OnChangedClipRect ⇒ Object
- #_OnChangedTexture ⇒ Object
- #_OnChangedVtxOffset ⇒ Object
- #_PathArcToFastEx(center, radius, a_min_sample, a_max_sample, a_step) ⇒ Object
- #_PathArcToN(center, radius, a_min, a_max, num_segments) ⇒ Object
- #_PopUnusedDrawCmd ⇒ Object
- #_ResetForNewFrame ⇒ Object
- #_SetDrawListSharedData(data) ⇒ Object
- #_SetTexture(tex_ref) ⇒ Object
- #_TryMergeDrawCmds ⇒ Object
- #AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments = 0) ⇒ Object
- #AddBezierQuadratic(p1, p2, p3, col, thickness, num_segments = 0) ⇒ Object
- #AddCallback(callback) ⇒ Object
- #AddCallbackEx(callback, userdata = nil, userdata_size = 0) ⇒ Object
- #AddCircle(center, radius, col) ⇒ Object
- #AddCircleEx(center, radius, col, num_segments = 0, thickness = 1.0) ⇒ Object
- #AddCircleFilled(center, radius, col, num_segments = 0) ⇒ Object
- #AddConcavePolyFilled(points, num_points, col) ⇒ Object
- #AddConvexPolyFilled(points, num_points, col) ⇒ Object
- #AddDrawCmd ⇒ Object
- #AddEllipse(center, radius, col) ⇒ Object
- #AddEllipseEx(center, radius, col, rot = 0.0, num_segments = 0, thickness = 1.0) ⇒ Object
- #AddEllipseFilled(center, radius, col) ⇒ Object
- #AddEllipseFilledEx(center, radius, col, rot = 0.0, num_segments = 0) ⇒ Object
- #AddImage(tex_ref, p_min, p_max) ⇒ Object
- #AddImageEx(tex_ref, p_min, p_max, uv_min = ImVec2.create(0,0), uv_max = ImVec2.create(1,1), col = IM_COL32_WHITE) ⇒ Object
- #AddImageQuad(tex_ref, p1, p2, p3, p4) ⇒ Object
- #AddImageQuadEx(tex_ref, p1, p2, p3, p4, uv1 = ImVec2.create(0,0), uv2 = ImVec2.create(1,0), uv3 = ImVec2.create(1,1), uv4 = ImVec2.create(0,1), col = IM_COL32_WHITE) ⇒ Object
- #AddImageRounded(tex_ref, p_min, p_max, uv_min, uv_max, col, rounding, flags = 0) ⇒ Object
- #AddLine(p1, p2, col) ⇒ Object
- #AddLineEx(p1, p2, col, thickness = 1.0) ⇒ Object
- #AddLineH(min_x, max_x, y, col) ⇒ Object
- #AddLineHEx(min_x, max_x, y, col, thickness = 1.0) ⇒ Object
- #AddLineV(x, min_y, max_y, col) ⇒ Object
- #AddLineVEx(x, min_y, max_y, col, thickness = 1.0) ⇒ Object
- #AddNgon(center, radius, col, num_segments) ⇒ Object
- #AddNgonEx(center, radius, col, num_segments, thickness = 1.0) ⇒ Object
- #AddNgonFilled(center, radius, col, num_segments) ⇒ Object
- #AddPolyline(points, num_points, col, thickness, flags = 0) ⇒ Object
- #AddPolylineImDrawFlags(points, num_points, col, flags, thickness) ⇒ Object
- #AddQuad(p1, p2, p3, p4, col) ⇒ Object
- #AddQuadEx(p1, p2, p3, p4, col, thickness = 1.0) ⇒ Object
- #AddQuadFilled(p1, p2, p3, p4, col) ⇒ Object
- #AddRect(p_min, p_max, col) ⇒ Object
- #AddRectEx(p_min, p_max, col, rounding = 0.0, thickness = 1.0, flags = 0) ⇒ Object
- #AddRectFilled(p_min, p_max, col) ⇒ Object
- #AddRectFilledEx(p_min, p_max, col, rounding = 0.0, flags = 0) ⇒ Object
- #AddRectFilledMultiColor(p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left) ⇒ Object
- #AddRectImDrawFlags(p_min, p_max, col, rounding, flags, thickness) ⇒ Object
- #AddText(pos, col, text_begin) ⇒ Object
- #AddTextEx(pos, col, text_begin, text_end = nil) ⇒ Object
- #AddTextImFontPtr(font, font_size, pos, col, text_begin) ⇒ Object
- #AddTextImFontPtrEx(font, font_size, pos, col, text_begin, text_end = nil, wrap_width = 0.0, cpu_fine_clip_rect = nil) ⇒ Object
- #AddTriangle(p1, p2, p3, col) ⇒ Object
- #AddTriangleEx(p1, p2, p3, col, thickness = 1.0) ⇒ Object
- #AddTriangleFilled(p1, p2, p3, col) ⇒ Object
- #ChannelsMerge ⇒ Object
- #ChannelsSetCurrent(n) ⇒ Object
- #ChannelsSplit(count) ⇒ Object
- #CloneOutput ⇒ Object
- #GetClipRectMax ⇒ Object
- #GetClipRectMin ⇒ Object
- #PathArcTo(center, radius, a_min, a_max, num_segments = 0) ⇒ Object
- #PathArcToFast(center, radius, a_min_of_12, a_max_of_12) ⇒ Object
- #PathBezierCubicCurveTo(p2, p3, p4, num_segments = 0) ⇒ Object
- #PathBezierQuadraticCurveTo(p2, p3, num_segments = 0) ⇒ Object
- #PathClear ⇒ Object
- #PathEllipticalArcTo(center, radius, rot, a_min, a_max) ⇒ Object
- #PathEllipticalArcToEx(center, radius, rot, a_min, a_max, num_segments = 0) ⇒ Object
- #PathFillConcave(col) ⇒ Object
- #PathFillConvex(col) ⇒ Object
- #PathLineTo(pos) ⇒ Object
- #PathLineToMergeDuplicate(pos) ⇒ Object
- #PathRect(rect_min, rect_max, rounding = 0.0, flags = 0) ⇒ Object
- #PathStroke(col, thickness = 1.0, flags = 0) ⇒ Object
- #PathStrokeImDrawFlags(col, flags, thickness) ⇒ Object
- #PopClipRect ⇒ Object
- #PopTexture ⇒ Object
- #PopTextureID ⇒ Object
- #PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) ⇒ Object
- #PrimRect(a, b, col) ⇒ Object
- #PrimRectUV(a, b, uv_a, uv_b, col) ⇒ Object
- #PrimReserve(idx_count, vtx_count) ⇒ Object
- #PrimUnreserve(idx_count, vtx_count) ⇒ Object
- #PrimVtx(pos, uv, col) ⇒ Object
- #PrimWriteIdx(idx) ⇒ Object
- #PrimWriteVtx(pos, uv, col) ⇒ Object
- #PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect = false) ⇒ Object
- #PushClipRectFullScreen ⇒ Object
- #PushTexture(tex_ref) ⇒ Object
- #PushTextureID(tex_ref) ⇒ Object
Instance Method Details
#_CalcCircleAutoSegmentCount(radius) ⇒ Object
1863 1864 1865 |
# File 'lib/imgui.rb', line 1863 def _CalcCircleAutoSegmentCount(radius) ImGui::ImDrawList__CalcCircleAutoSegmentCount(self, radius) end |
#_ClearFreeMemory ⇒ Object
1835 1836 1837 |
# File 'lib/imgui.rb', line 1835 def _ClearFreeMemory() ImGui::ImDrawList__ClearFreeMemory(self) end |
#_OnChangedClipRect ⇒ Object
1847 1848 1849 |
# File 'lib/imgui.rb', line 1847 def _OnChangedClipRect() ImGui::ImDrawList__OnChangedClipRect(self) end |
#_OnChangedTexture ⇒ Object
1851 1852 1853 |
# File 'lib/imgui.rb', line 1851 def _OnChangedTexture() ImGui::ImDrawList__OnChangedTexture(self) end |
#_OnChangedVtxOffset ⇒ Object
1855 1856 1857 |
# File 'lib/imgui.rb', line 1855 def _OnChangedVtxOffset() ImGui::ImDrawList__OnChangedVtxOffset(self) end |
#_PathArcToFastEx(center, radius, a_min_sample, a_max_sample, a_step) ⇒ Object
1867 1868 1869 |
# File 'lib/imgui.rb', line 1867 def _PathArcToFastEx(center, radius, a_min_sample, a_max_sample, a_step) ImGui::ImDrawList__PathArcToFastEx(self, center, radius, a_min_sample, a_max_sample, a_step) end |
#_PathArcToN(center, radius, a_min, a_max, num_segments) ⇒ Object
1871 1872 1873 |
# File 'lib/imgui.rb', line 1871 def _PathArcToN(center, radius, a_min, a_max, num_segments) ImGui::ImDrawList__PathArcToN(self, center, radius, a_min, a_max, num_segments) end |
#_PopUnusedDrawCmd ⇒ Object
1839 1840 1841 |
# File 'lib/imgui.rb', line 1839 def _PopUnusedDrawCmd() ImGui::ImDrawList__PopUnusedDrawCmd(self) end |
#_ResetForNewFrame ⇒ Object
1831 1832 1833 |
# File 'lib/imgui.rb', line 1831 def _ResetForNewFrame() ImGui::ImDrawList__ResetForNewFrame(self) end |
#_SetDrawListSharedData(data) ⇒ Object
1827 1828 1829 |
# File 'lib/imgui.rb', line 1827 def _SetDrawListSharedData(data) ImGui::ImDrawList__SetDrawListSharedData(self, data) end |
#_SetTexture(tex_ref) ⇒ Object
1859 1860 1861 |
# File 'lib/imgui.rb', line 1859 def _SetTexture(tex_ref) ImGui::ImDrawList__SetTexture(self, tex_ref) end |
#_TryMergeDrawCmds ⇒ Object
1843 1844 1845 |
# File 'lib/imgui.rb', line 1843 def _TryMergeDrawCmds() ImGui::ImDrawList__TryMergeDrawCmds(self) end |
#AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments = 0) ⇒ Object
1655 1656 1657 |
# File 'lib/imgui.rb', line 1655 def AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments = 0) ImGui::ImDrawList_AddBezierCubic(self, p1, p2, p3, p4, col, thickness, num_segments) end |
#AddBezierQuadratic(p1, p2, p3, col, thickness, num_segments = 0) ⇒ Object
1659 1660 1661 |
# File 'lib/imgui.rb', line 1659 def AddBezierQuadratic(p1, p2, p3, col, thickness, num_segments = 0) ImGui::ImDrawList_AddBezierQuadratic(self, p1, p2, p3, col, thickness, num_segments) end |
#AddCallback(callback) ⇒ Object
1747 1748 1749 |
# File 'lib/imgui.rb', line 1747 def AddCallback(callback) ImGui::ImDrawList_AddCallback(self, callback) end |
#AddCallbackEx(callback, userdata = nil, userdata_size = 0) ⇒ Object
1751 1752 1753 |
# File 'lib/imgui.rb', line 1751 def AddCallbackEx(callback, userdata = nil, userdata_size = 0) ImGui::ImDrawList_AddCallbackEx(self, callback, userdata, userdata_size) end |
#AddCircle(center, radius, col) ⇒ Object
1599 1600 1601 |
# File 'lib/imgui.rb', line 1599 def AddCircle(center, radius, col) ImGui::ImDrawList_AddCircle(self, center, radius, col) end |
#AddCircleEx(center, radius, col, num_segments = 0, thickness = 1.0) ⇒ Object
1603 1604 1605 |
# File 'lib/imgui.rb', line 1603 def AddCircleEx(center, radius, col, num_segments = 0, thickness = 1.0) ImGui::ImDrawList_AddCircleEx(self, center, radius, col, num_segments, thickness) end |
#AddCircleFilled(center, radius, col, num_segments = 0) ⇒ Object
1607 1608 1609 |
# File 'lib/imgui.rb', line 1607 def AddCircleFilled(center, radius, col, num_segments = 0) ImGui::ImDrawList_AddCircleFilled(self, center, radius, col, num_segments) end |
#AddConcavePolyFilled(points, num_points, col) ⇒ Object
1671 1672 1673 |
# File 'lib/imgui.rb', line 1671 def AddConcavePolyFilled(points, num_points, col) ImGui::ImDrawList_AddConcavePolyFilled(self, points, num_points, col) end |
#AddConvexPolyFilled(points, num_points, col) ⇒ Object
1667 1668 1669 |
# File 'lib/imgui.rb', line 1667 def AddConvexPolyFilled(points, num_points, col) ImGui::ImDrawList_AddConvexPolyFilled(self, points, num_points, col) end |
#AddDrawCmd ⇒ Object
1755 1756 1757 |
# File 'lib/imgui.rb', line 1755 def AddDrawCmd() ImGui::ImDrawList_AddDrawCmd(self) end |
#AddEllipse(center, radius, col) ⇒ Object
1623 1624 1625 |
# File 'lib/imgui.rb', line 1623 def AddEllipse(center, radius, col) ImGui::ImDrawList_AddEllipse(self, center, radius, col) end |
#AddEllipseEx(center, radius, col, rot = 0.0, num_segments = 0, thickness = 1.0) ⇒ Object
1627 1628 1629 |
# File 'lib/imgui.rb', line 1627 def AddEllipseEx(center, radius, col, rot = 0.0, num_segments = 0, thickness = 1.0) ImGui::ImDrawList_AddEllipseEx(self, center, radius, col, rot, num_segments, thickness) end |
#AddEllipseFilled(center, radius, col) ⇒ Object
1631 1632 1633 |
# File 'lib/imgui.rb', line 1631 def AddEllipseFilled(center, radius, col) ImGui::ImDrawList_AddEllipseFilled(self, center, radius, col) end |
#AddEllipseFilledEx(center, radius, col, rot = 0.0, num_segments = 0) ⇒ Object
1635 1636 1637 |
# File 'lib/imgui.rb', line 1635 def AddEllipseFilledEx(center, radius, col, rot = 0.0, num_segments = 0) ImGui::ImDrawList_AddEllipseFilledEx(self, center, radius, col, rot, num_segments) end |
#AddImage(tex_ref, p_min, p_max) ⇒ Object
1675 1676 1677 |
# File 'lib/imgui.rb', line 1675 def AddImage(tex_ref, p_min, p_max) ImGui::ImDrawList_AddImage(self, tex_ref, p_min, p_max) end |
#AddImageEx(tex_ref, p_min, p_max, uv_min = ImVec2.create(0,0), uv_max = ImVec2.create(1,1), col = IM_COL32_WHITE) ⇒ Object
1679 1680 1681 |
# File 'lib/imgui.rb', line 1679 def AddImageEx(tex_ref, p_min, p_max, uv_min = ImVec2.create(0,0), uv_max = ImVec2.create(1,1), col = IM_COL32_WHITE) ImGui::ImDrawList_AddImageEx(self, tex_ref, p_min, p_max, uv_min, uv_max, col) end |
#AddImageQuad(tex_ref, p1, p2, p3, p4) ⇒ Object
1683 1684 1685 |
# File 'lib/imgui.rb', line 1683 def AddImageQuad(tex_ref, p1, p2, p3, p4) ImGui::ImDrawList_AddImageQuad(self, tex_ref, p1, p2, p3, p4) end |
#AddImageQuadEx(tex_ref, p1, p2, p3, p4, uv1 = ImVec2.create(0,0), uv2 = ImVec2.create(1,0), uv3 = ImVec2.create(1,1), uv4 = ImVec2.create(0,1), col = IM_COL32_WHITE) ⇒ Object
1687 1688 1689 |
# File 'lib/imgui.rb', line 1687 def AddImageQuadEx(tex_ref, p1, p2, p3, p4, uv1 = ImVec2.create(0,0), uv2 = ImVec2.create(1,0), uv3 = ImVec2.create(1,1), uv4 = ImVec2.create(0,1), col = IM_COL32_WHITE) ImGui::ImDrawList_AddImageQuadEx(self, tex_ref, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col) end |
#AddImageRounded(tex_ref, p_min, p_max, uv_min, uv_max, col, rounding, flags = 0) ⇒ Object
1691 1692 1693 |
# File 'lib/imgui.rb', line 1691 def AddImageRounded(tex_ref, p_min, p_max, uv_min, uv_max, col, rounding, flags = 0) ImGui::ImDrawList_AddImageRounded(self, tex_ref, p_min, p_max, uv_min, uv_max, col, rounding, flags) end |
#AddLine(p1, p2, col) ⇒ Object
1531 1532 1533 |
# File 'lib/imgui.rb', line 1531 def AddLine(p1, p2, col) ImGui::ImDrawList_AddLine(self, p1, p2, col) end |
#AddLineEx(p1, p2, col, thickness = 1.0) ⇒ Object
1535 1536 1537 |
# File 'lib/imgui.rb', line 1535 def AddLineEx(p1, p2, col, thickness = 1.0) ImGui::ImDrawList_AddLineEx(self, p1, p2, col, thickness) end |
#AddLineH(min_x, max_x, y, col) ⇒ Object
1539 1540 1541 |
# File 'lib/imgui.rb', line 1539 def AddLineH(min_x, max_x, y, col) ImGui::ImDrawList_AddLineH(self, min_x, max_x, y, col) end |
#AddLineHEx(min_x, max_x, y, col, thickness = 1.0) ⇒ Object
1543 1544 1545 |
# File 'lib/imgui.rb', line 1543 def AddLineHEx(min_x, max_x, y, col, thickness = 1.0) ImGui::ImDrawList_AddLineHEx(self, min_x, max_x, y, col, thickness) end |
#AddLineV(x, min_y, max_y, col) ⇒ Object
1547 1548 1549 |
# File 'lib/imgui.rb', line 1547 def AddLineV(x, min_y, max_y, col) ImGui::ImDrawList_AddLineV(self, x, min_y, max_y, col) end |
#AddLineVEx(x, min_y, max_y, col, thickness = 1.0) ⇒ Object
1551 1552 1553 |
# File 'lib/imgui.rb', line 1551 def AddLineVEx(x, min_y, max_y, col, thickness = 1.0) ImGui::ImDrawList_AddLineVEx(self, x, min_y, max_y, col, thickness) end |
#AddNgon(center, radius, col, num_segments) ⇒ Object
1611 1612 1613 |
# File 'lib/imgui.rb', line 1611 def AddNgon(center, radius, col, num_segments) ImGui::ImDrawList_AddNgon(self, center, radius, col, num_segments) end |
#AddNgonEx(center, radius, col, num_segments, thickness = 1.0) ⇒ Object
1615 1616 1617 |
# File 'lib/imgui.rb', line 1615 def AddNgonEx(center, radius, col, num_segments, thickness = 1.0) ImGui::ImDrawList_AddNgonEx(self, center, radius, col, num_segments, thickness) end |
#AddNgonFilled(center, radius, col, num_segments) ⇒ Object
1619 1620 1621 |
# File 'lib/imgui.rb', line 1619 def AddNgonFilled(center, radius, col, num_segments) ImGui::ImDrawList_AddNgonFilled(self, center, radius, col, num_segments) end |
#AddPolyline(points, num_points, col, thickness, flags = 0) ⇒ Object
1663 1664 1665 |
# File 'lib/imgui.rb', line 1663 def AddPolyline(points, num_points, col, thickness, flags = 0) ImGui::ImDrawList_AddPolyline(self, points, num_points, col, thickness, flags) end |
#AddPolylineImDrawFlags(points, num_points, col, flags, thickness) ⇒ Object
1811 1812 1813 |
# File 'lib/imgui.rb', line 1811 def AddPolylineImDrawFlags(points, num_points, col, flags, thickness) ImGui::ImDrawList_AddPolylineImDrawFlags(self, points, num_points, col, flags, thickness) end |
#AddQuad(p1, p2, p3, p4, col) ⇒ Object
1575 1576 1577 |
# File 'lib/imgui.rb', line 1575 def AddQuad(p1, p2, p3, p4, col) ImGui::ImDrawList_AddQuad(self, p1, p2, p3, p4, col) end |
#AddQuadEx(p1, p2, p3, p4, col, thickness = 1.0) ⇒ Object
1579 1580 1581 |
# File 'lib/imgui.rb', line 1579 def AddQuadEx(p1, p2, p3, p4, col, thickness = 1.0) ImGui::ImDrawList_AddQuadEx(self, p1, p2, p3, p4, col, thickness) end |
#AddQuadFilled(p1, p2, p3, p4, col) ⇒ Object
1583 1584 1585 |
# File 'lib/imgui.rb', line 1583 def AddQuadFilled(p1, p2, p3, p4, col) ImGui::ImDrawList_AddQuadFilled(self, p1, p2, p3, p4, col) end |
#AddRect(p_min, p_max, col) ⇒ Object
1555 1556 1557 |
# File 'lib/imgui.rb', line 1555 def AddRect(p_min, p_max, col) ImGui::ImDrawList_AddRect(self, p_min, p_max, col) end |
#AddRectEx(p_min, p_max, col, rounding = 0.0, thickness = 1.0, flags = 0) ⇒ Object
1559 1560 1561 |
# File 'lib/imgui.rb', line 1559 def AddRectEx(p_min, p_max, col, rounding = 0.0, thickness = 1.0, flags = 0) ImGui::ImDrawList_AddRectEx(self, p_min, p_max, col, rounding, thickness, flags) end |
#AddRectFilled(p_min, p_max, col) ⇒ Object
1563 1564 1565 |
# File 'lib/imgui.rb', line 1563 def AddRectFilled(p_min, p_max, col) ImGui::ImDrawList_AddRectFilled(self, p_min, p_max, col) end |
#AddRectFilledEx(p_min, p_max, col, rounding = 0.0, flags = 0) ⇒ Object
1567 1568 1569 |
# File 'lib/imgui.rb', line 1567 def AddRectFilledEx(p_min, p_max, col, rounding = 0.0, flags = 0) ImGui::ImDrawList_AddRectFilledEx(self, p_min, p_max, col, rounding, flags) end |
#AddRectFilledMultiColor(p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left) ⇒ Object
1571 1572 1573 |
# File 'lib/imgui.rb', line 1571 def AddRectFilledMultiColor(p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left) ImGui::ImDrawList_AddRectFilledMultiColor(self, p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left) end |
#AddRectImDrawFlags(p_min, p_max, col, rounding, flags, thickness) ⇒ Object
1807 1808 1809 |
# File 'lib/imgui.rb', line 1807 def AddRectImDrawFlags(p_min, p_max, col, rounding, flags, thickness) ImGui::ImDrawList_AddRectImDrawFlags(self, p_min, p_max, col, rounding, flags, thickness) end |
#AddText(pos, col, text_begin) ⇒ Object
1639 1640 1641 |
# File 'lib/imgui.rb', line 1639 def AddText(pos, col, text_begin) ImGui::ImDrawList_AddText(self, pos, col, text_begin) end |
#AddTextEx(pos, col, text_begin, text_end = nil) ⇒ Object
1643 1644 1645 |
# File 'lib/imgui.rb', line 1643 def AddTextEx(pos, col, text_begin, text_end = nil) ImGui::ImDrawList_AddTextEx(self, pos, col, text_begin, text_end) end |
#AddTextImFontPtr(font, font_size, pos, col, text_begin) ⇒ Object
1647 1648 1649 |
# File 'lib/imgui.rb', line 1647 def AddTextImFontPtr(font, font_size, pos, col, text_begin) ImGui::ImDrawList_AddTextImFontPtr(self, font, font_size, pos, col, text_begin) end |
#AddTextImFontPtrEx(font, font_size, pos, col, text_begin, text_end = nil, wrap_width = 0.0, cpu_fine_clip_rect = nil) ⇒ Object
1651 1652 1653 |
# File 'lib/imgui.rb', line 1651 def AddTextImFontPtrEx(font, font_size, pos, col, text_begin, text_end = nil, wrap_width = 0.0, cpu_fine_clip_rect = nil) ImGui::ImDrawList_AddTextImFontPtrEx(self, font, font_size, pos, col, text_begin, text_end, wrap_width, cpu_fine_clip_rect) end |
#AddTriangle(p1, p2, p3, col) ⇒ Object
1587 1588 1589 |
# File 'lib/imgui.rb', line 1587 def AddTriangle(p1, p2, p3, col) ImGui::ImDrawList_AddTriangle(self, p1, p2, p3, col) end |
#AddTriangleEx(p1, p2, p3, col, thickness = 1.0) ⇒ Object
1591 1592 1593 |
# File 'lib/imgui.rb', line 1591 def AddTriangleEx(p1, p2, p3, col, thickness = 1.0) ImGui::ImDrawList_AddTriangleEx(self, p1, p2, p3, col, thickness) end |
#AddTriangleFilled(p1, p2, p3, col) ⇒ Object
1595 1596 1597 |
# File 'lib/imgui.rb', line 1595 def AddTriangleFilled(p1, p2, p3, col) ImGui::ImDrawList_AddTriangleFilled(self, p1, p2, p3, col) end |
#ChannelsMerge ⇒ Object
1767 1768 1769 |
# File 'lib/imgui.rb', line 1767 def ChannelsMerge() ImGui::ImDrawList_ChannelsMerge(self) end |
#ChannelsSetCurrent(n) ⇒ Object
1771 1772 1773 |
# File 'lib/imgui.rb', line 1771 def ChannelsSetCurrent(n) ImGui::ImDrawList_ChannelsSetCurrent(self, n) end |
#ChannelsSplit(count) ⇒ Object
1763 1764 1765 |
# File 'lib/imgui.rb', line 1763 def ChannelsSplit(count) ImGui::ImDrawList_ChannelsSplit(self, count) end |
#CloneOutput ⇒ Object
1759 1760 1761 |
# File 'lib/imgui.rb', line 1759 def CloneOutput() ImGui::ImDrawList_CloneOutput(self) end |
#GetClipRectMax ⇒ Object
1527 1528 1529 |
# File 'lib/imgui.rb', line 1527 def GetClipRectMax() ImGui::ImDrawList_GetClipRectMax(self) end |
#GetClipRectMin ⇒ Object
1523 1524 1525 |
# File 'lib/imgui.rb', line 1523 def GetClipRectMin() ImGui::ImDrawList_GetClipRectMin(self) end |
#PathArcTo(center, radius, a_min, a_max, num_segments = 0) ⇒ Object
1719 1720 1721 |
# File 'lib/imgui.rb', line 1719 def PathArcTo(center, radius, a_min, a_max, num_segments = 0) ImGui::ImDrawList_PathArcTo(self, center, radius, a_min, a_max, num_segments) end |
#PathArcToFast(center, radius, a_min_of_12, a_max_of_12) ⇒ Object
1723 1724 1725 |
# File 'lib/imgui.rb', line 1723 def PathArcToFast(center, radius, a_min_of_12, a_max_of_12) ImGui::ImDrawList_PathArcToFast(self, center, radius, a_min_of_12, a_max_of_12) end |
#PathBezierCubicCurveTo(p2, p3, p4, num_segments = 0) ⇒ Object
1735 1736 1737 |
# File 'lib/imgui.rb', line 1735 def PathBezierCubicCurveTo(p2, p3, p4, num_segments = 0) ImGui::ImDrawList_PathBezierCubicCurveTo(self, p2, p3, p4, num_segments) end |
#PathBezierQuadraticCurveTo(p2, p3, num_segments = 0) ⇒ Object
1739 1740 1741 |
# File 'lib/imgui.rb', line 1739 def PathBezierQuadraticCurveTo(p2, p3, num_segments = 0) ImGui::ImDrawList_PathBezierQuadraticCurveTo(self, p2, p3, num_segments) end |
#PathClear ⇒ Object
1695 1696 1697 |
# File 'lib/imgui.rb', line 1695 def PathClear() ImGui::ImDrawList_PathClear(self) end |
#PathEllipticalArcTo(center, radius, rot, a_min, a_max) ⇒ Object
1727 1728 1729 |
# File 'lib/imgui.rb', line 1727 def PathEllipticalArcTo(center, radius, rot, a_min, a_max) ImGui::ImDrawList_PathEllipticalArcTo(self, center, radius, rot, a_min, a_max) end |
#PathEllipticalArcToEx(center, radius, rot, a_min, a_max, num_segments = 0) ⇒ Object
1731 1732 1733 |
# File 'lib/imgui.rb', line 1731 def PathEllipticalArcToEx(center, radius, rot, a_min, a_max, num_segments = 0) ImGui::ImDrawList_PathEllipticalArcToEx(self, center, radius, rot, a_min, a_max, num_segments) end |
#PathFillConcave(col) ⇒ Object
1711 1712 1713 |
# File 'lib/imgui.rb', line 1711 def PathFillConcave(col) ImGui::ImDrawList_PathFillConcave(self, col) end |
#PathFillConvex(col) ⇒ Object
1707 1708 1709 |
# File 'lib/imgui.rb', line 1707 def PathFillConvex(col) ImGui::ImDrawList_PathFillConvex(self, col) end |
#PathLineTo(pos) ⇒ Object
1699 1700 1701 |
# File 'lib/imgui.rb', line 1699 def PathLineTo(pos) ImGui::ImDrawList_PathLineTo(self, pos) end |
#PathLineToMergeDuplicate(pos) ⇒ Object
1703 1704 1705 |
# File 'lib/imgui.rb', line 1703 def PathLineToMergeDuplicate(pos) ImGui::ImDrawList_PathLineToMergeDuplicate(self, pos) end |
#PathRect(rect_min, rect_max, rounding = 0.0, flags = 0) ⇒ Object
1743 1744 1745 |
# File 'lib/imgui.rb', line 1743 def PathRect(rect_min, rect_max, rounding = 0.0, flags = 0) ImGui::ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) end |
#PathStroke(col, thickness = 1.0, flags = 0) ⇒ Object
1715 1716 1717 |
# File 'lib/imgui.rb', line 1715 def PathStroke(col, thickness = 1.0, flags = 0) ImGui::ImDrawList_PathStroke(self, col, thickness, flags) end |
#PathStrokeImDrawFlags(col, flags, thickness) ⇒ Object
1815 1816 1817 |
# File 'lib/imgui.rb', line 1815 def PathStrokeImDrawFlags(col, flags, thickness) ImGui::ImDrawList_PathStrokeImDrawFlags(self, col, flags, thickness) end |
#PopClipRect ⇒ Object
1511 1512 1513 |
# File 'lib/imgui.rb', line 1511 def PopClipRect() ImGui::ImDrawList_PopClipRect(self) end |
#PopTexture ⇒ Object
1519 1520 1521 |
# File 'lib/imgui.rb', line 1519 def PopTexture() ImGui::ImDrawList_PopTexture(self) end |
#PopTextureID ⇒ Object
1823 1824 1825 |
# File 'lib/imgui.rb', line 1823 def PopTextureID() ImGui::ImDrawList_PopTextureID(self) end |
#PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) ⇒ Object
1791 1792 1793 |
# File 'lib/imgui.rb', line 1791 def PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) ImGui::ImDrawList_PrimQuadUV(self, a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) end |
#PrimRect(a, b, col) ⇒ Object
1783 1784 1785 |
# File 'lib/imgui.rb', line 1783 def PrimRect(a, b, col) ImGui::ImDrawList_PrimRect(self, a, b, col) end |
#PrimRectUV(a, b, uv_a, uv_b, col) ⇒ Object
1787 1788 1789 |
# File 'lib/imgui.rb', line 1787 def PrimRectUV(a, b, uv_a, uv_b, col) ImGui::ImDrawList_PrimRectUV(self, a, b, uv_a, uv_b, col) end |
#PrimReserve(idx_count, vtx_count) ⇒ Object
1775 1776 1777 |
# File 'lib/imgui.rb', line 1775 def PrimReserve(idx_count, vtx_count) ImGui::ImDrawList_PrimReserve(self, idx_count, vtx_count) end |
#PrimUnreserve(idx_count, vtx_count) ⇒ Object
1779 1780 1781 |
# File 'lib/imgui.rb', line 1779 def PrimUnreserve(idx_count, vtx_count) ImGui::ImDrawList_PrimUnreserve(self, idx_count, vtx_count) end |
#PrimVtx(pos, uv, col) ⇒ Object
1803 1804 1805 |
# File 'lib/imgui.rb', line 1803 def PrimVtx(pos, uv, col) ImGui::ImDrawList_PrimVtx(self, pos, uv, col) end |
#PrimWriteIdx(idx) ⇒ Object
1799 1800 1801 |
# File 'lib/imgui.rb', line 1799 def PrimWriteIdx(idx) ImGui::ImDrawList_PrimWriteIdx(self, idx) end |
#PrimWriteVtx(pos, uv, col) ⇒ Object
1795 1796 1797 |
# File 'lib/imgui.rb', line 1795 def PrimWriteVtx(pos, uv, col) ImGui::ImDrawList_PrimWriteVtx(self, pos, uv, col) end |
#PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect = false) ⇒ Object
1503 1504 1505 |
# File 'lib/imgui.rb', line 1503 def PushClipRect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect = false) ImGui::ImDrawList_PushClipRect(self, clip_rect_min, clip_rect_max, intersect_with_current_clip_rect) end |
#PushClipRectFullScreen ⇒ Object
1507 1508 1509 |
# File 'lib/imgui.rb', line 1507 def PushClipRectFullScreen() ImGui::ImDrawList_PushClipRectFullScreen(self) end |
#PushTexture(tex_ref) ⇒ Object
1515 1516 1517 |
# File 'lib/imgui.rb', line 1515 def PushTexture(tex_ref) ImGui::ImDrawList_PushTexture(self, tex_ref) end |
#PushTextureID(tex_ref) ⇒ Object
1819 1820 1821 |
# File 'lib/imgui.rb', line 1819 def PushTextureID(tex_ref) ImGui::ImDrawList_PushTextureID(self, tex_ref) end |