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
1854 1855 1856 |
# File 'lib/imgui.rb', line 1854 def _CalcCircleAutoSegmentCount(radius) ImGui::ImDrawList__CalcCircleAutoSegmentCount(self, radius) end |
#_ClearFreeMemory ⇒ Object
1826 1827 1828 |
# File 'lib/imgui.rb', line 1826 def _ClearFreeMemory() ImGui::ImDrawList__ClearFreeMemory(self) end |
#_OnChangedClipRect ⇒ Object
1838 1839 1840 |
# File 'lib/imgui.rb', line 1838 def _OnChangedClipRect() ImGui::ImDrawList__OnChangedClipRect(self) end |
#_OnChangedTexture ⇒ Object
1842 1843 1844 |
# File 'lib/imgui.rb', line 1842 def _OnChangedTexture() ImGui::ImDrawList__OnChangedTexture(self) end |
#_OnChangedVtxOffset ⇒ Object
1846 1847 1848 |
# File 'lib/imgui.rb', line 1846 def _OnChangedVtxOffset() ImGui::ImDrawList__OnChangedVtxOffset(self) end |
#_PathArcToFastEx(center, radius, a_min_sample, a_max_sample, a_step) ⇒ Object
1858 1859 1860 |
# File 'lib/imgui.rb', line 1858 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
1862 1863 1864 |
# File 'lib/imgui.rb', line 1862 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
1830 1831 1832 |
# File 'lib/imgui.rb', line 1830 def _PopUnusedDrawCmd() ImGui::ImDrawList__PopUnusedDrawCmd(self) end |
#_ResetForNewFrame ⇒ Object
1822 1823 1824 |
# File 'lib/imgui.rb', line 1822 def _ResetForNewFrame() ImGui::ImDrawList__ResetForNewFrame(self) end |
#_SetDrawListSharedData(data) ⇒ Object
1818 1819 1820 |
# File 'lib/imgui.rb', line 1818 def _SetDrawListSharedData(data) ImGui::ImDrawList__SetDrawListSharedData(self, data) end |
#_SetTexture(tex_ref) ⇒ Object
1850 1851 1852 |
# File 'lib/imgui.rb', line 1850 def _SetTexture(tex_ref) ImGui::ImDrawList__SetTexture(self, tex_ref) end |
#_TryMergeDrawCmds ⇒ Object
1834 1835 1836 |
# File 'lib/imgui.rb', line 1834 def _TryMergeDrawCmds() ImGui::ImDrawList__TryMergeDrawCmds(self) end |
#AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments = 0) ⇒ Object
1646 1647 1648 |
# File 'lib/imgui.rb', line 1646 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
1650 1651 1652 |
# File 'lib/imgui.rb', line 1650 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
1738 1739 1740 |
# File 'lib/imgui.rb', line 1738 def AddCallback(callback) ImGui::ImDrawList_AddCallback(self, callback) end |
#AddCallbackEx(callback, userdata = nil, userdata_size = 0) ⇒ Object
1742 1743 1744 |
# File 'lib/imgui.rb', line 1742 def AddCallbackEx(callback, userdata = nil, userdata_size = 0) ImGui::ImDrawList_AddCallbackEx(self, callback, userdata, userdata_size) end |
#AddCircle(center, radius, col) ⇒ Object
1590 1591 1592 |
# File 'lib/imgui.rb', line 1590 def AddCircle(center, radius, col) ImGui::ImDrawList_AddCircle(self, center, radius, col) end |
#AddCircleEx(center, radius, col, num_segments = 0, thickness = 1.0) ⇒ Object
1594 1595 1596 |
# File 'lib/imgui.rb', line 1594 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
1598 1599 1600 |
# File 'lib/imgui.rb', line 1598 def AddCircleFilled(center, radius, col, num_segments = 0) ImGui::ImDrawList_AddCircleFilled(self, center, radius, col, num_segments) end |
#AddConcavePolyFilled(points, num_points, col) ⇒ Object
1662 1663 1664 |
# File 'lib/imgui.rb', line 1662 def AddConcavePolyFilled(points, num_points, col) ImGui::ImDrawList_AddConcavePolyFilled(self, points, num_points, col) end |
#AddConvexPolyFilled(points, num_points, col) ⇒ Object
1658 1659 1660 |
# File 'lib/imgui.rb', line 1658 def AddConvexPolyFilled(points, num_points, col) ImGui::ImDrawList_AddConvexPolyFilled(self, points, num_points, col) end |
#AddDrawCmd ⇒ Object
1746 1747 1748 |
# File 'lib/imgui.rb', line 1746 def AddDrawCmd() ImGui::ImDrawList_AddDrawCmd(self) end |
#AddEllipse(center, radius, col) ⇒ Object
1614 1615 1616 |
# File 'lib/imgui.rb', line 1614 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
1618 1619 1620 |
# File 'lib/imgui.rb', line 1618 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
1622 1623 1624 |
# File 'lib/imgui.rb', line 1622 def AddEllipseFilled(center, radius, col) ImGui::ImDrawList_AddEllipseFilled(self, center, radius, col) end |
#AddEllipseFilledEx(center, radius, col, rot = 0.0, num_segments = 0) ⇒ Object
1626 1627 1628 |
# File 'lib/imgui.rb', line 1626 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
1666 1667 1668 |
# File 'lib/imgui.rb', line 1666 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
1670 1671 1672 |
# File 'lib/imgui.rb', line 1670 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
1674 1675 1676 |
# File 'lib/imgui.rb', line 1674 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
1678 1679 1680 |
# File 'lib/imgui.rb', line 1678 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
1682 1683 1684 |
# File 'lib/imgui.rb', line 1682 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
1522 1523 1524 |
# File 'lib/imgui.rb', line 1522 def AddLine(p1, p2, col) ImGui::ImDrawList_AddLine(self, p1, p2, col) end |
#AddLineEx(p1, p2, col, thickness = 1.0) ⇒ Object
1526 1527 1528 |
# File 'lib/imgui.rb', line 1526 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
1530 1531 1532 |
# File 'lib/imgui.rb', line 1530 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
1534 1535 1536 |
# File 'lib/imgui.rb', line 1534 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
1538 1539 1540 |
# File 'lib/imgui.rb', line 1538 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
1542 1543 1544 |
# File 'lib/imgui.rb', line 1542 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
1602 1603 1604 |
# File 'lib/imgui.rb', line 1602 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
1606 1607 1608 |
# File 'lib/imgui.rb', line 1606 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
1610 1611 1612 |
# File 'lib/imgui.rb', line 1610 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
1654 1655 1656 |
# File 'lib/imgui.rb', line 1654 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
1802 1803 1804 |
# File 'lib/imgui.rb', line 1802 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
1566 1567 1568 |
# File 'lib/imgui.rb', line 1566 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
1570 1571 1572 |
# File 'lib/imgui.rb', line 1570 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
1574 1575 1576 |
# File 'lib/imgui.rb', line 1574 def AddQuadFilled(p1, p2, p3, p4, col) ImGui::ImDrawList_AddQuadFilled(self, p1, p2, p3, p4, col) end |
#AddRect(p_min, p_max, col) ⇒ Object
1546 1547 1548 |
# File 'lib/imgui.rb', line 1546 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
1550 1551 1552 |
# File 'lib/imgui.rb', line 1550 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
1554 1555 1556 |
# File 'lib/imgui.rb', line 1554 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
1558 1559 1560 |
# File 'lib/imgui.rb', line 1558 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
1562 1563 1564 |
# File 'lib/imgui.rb', line 1562 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
1798 1799 1800 |
# File 'lib/imgui.rb', line 1798 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
1630 1631 1632 |
# File 'lib/imgui.rb', line 1630 def AddText(pos, col, text_begin) ImGui::ImDrawList_AddText(self, pos, col, text_begin) end |
#AddTextEx(pos, col, text_begin, text_end = nil) ⇒ Object
1634 1635 1636 |
# File 'lib/imgui.rb', line 1634 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
1638 1639 1640 |
# File 'lib/imgui.rb', line 1638 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
1642 1643 1644 |
# File 'lib/imgui.rb', line 1642 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
1578 1579 1580 |
# File 'lib/imgui.rb', line 1578 def AddTriangle(p1, p2, p3, col) ImGui::ImDrawList_AddTriangle(self, p1, p2, p3, col) end |
#AddTriangleEx(p1, p2, p3, col, thickness = 1.0) ⇒ Object
1582 1583 1584 |
# File 'lib/imgui.rb', line 1582 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
1586 1587 1588 |
# File 'lib/imgui.rb', line 1586 def AddTriangleFilled(p1, p2, p3, col) ImGui::ImDrawList_AddTriangleFilled(self, p1, p2, p3, col) end |
#ChannelsMerge ⇒ Object
1758 1759 1760 |
# File 'lib/imgui.rb', line 1758 def ChannelsMerge() ImGui::ImDrawList_ChannelsMerge(self) end |
#ChannelsSetCurrent(n) ⇒ Object
1762 1763 1764 |
# File 'lib/imgui.rb', line 1762 def ChannelsSetCurrent(n) ImGui::ImDrawList_ChannelsSetCurrent(self, n) end |
#ChannelsSplit(count) ⇒ Object
1754 1755 1756 |
# File 'lib/imgui.rb', line 1754 def ChannelsSplit(count) ImGui::ImDrawList_ChannelsSplit(self, count) end |
#CloneOutput ⇒ Object
1750 1751 1752 |
# File 'lib/imgui.rb', line 1750 def CloneOutput() ImGui::ImDrawList_CloneOutput(self) end |
#GetClipRectMax ⇒ Object
1518 1519 1520 |
# File 'lib/imgui.rb', line 1518 def GetClipRectMax() ImGui::ImDrawList_GetClipRectMax(self) end |
#GetClipRectMin ⇒ Object
1514 1515 1516 |
# File 'lib/imgui.rb', line 1514 def GetClipRectMin() ImGui::ImDrawList_GetClipRectMin(self) end |
#PathArcTo(center, radius, a_min, a_max, num_segments = 0) ⇒ Object
1710 1711 1712 |
# File 'lib/imgui.rb', line 1710 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
1714 1715 1716 |
# File 'lib/imgui.rb', line 1714 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
1726 1727 1728 |
# File 'lib/imgui.rb', line 1726 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
1730 1731 1732 |
# File 'lib/imgui.rb', line 1730 def PathBezierQuadraticCurveTo(p2, p3, num_segments = 0) ImGui::ImDrawList_PathBezierQuadraticCurveTo(self, p2, p3, num_segments) end |
#PathClear ⇒ Object
1686 1687 1688 |
# File 'lib/imgui.rb', line 1686 def PathClear() ImGui::ImDrawList_PathClear(self) end |
#PathEllipticalArcTo(center, radius, rot, a_min, a_max) ⇒ Object
1718 1719 1720 |
# File 'lib/imgui.rb', line 1718 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
1722 1723 1724 |
# File 'lib/imgui.rb', line 1722 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
1702 1703 1704 |
# File 'lib/imgui.rb', line 1702 def PathFillConcave(col) ImGui::ImDrawList_PathFillConcave(self, col) end |
#PathFillConvex(col) ⇒ Object
1698 1699 1700 |
# File 'lib/imgui.rb', line 1698 def PathFillConvex(col) ImGui::ImDrawList_PathFillConvex(self, col) end |
#PathLineTo(pos) ⇒ Object
1690 1691 1692 |
# File 'lib/imgui.rb', line 1690 def PathLineTo(pos) ImGui::ImDrawList_PathLineTo(self, pos) end |
#PathLineToMergeDuplicate(pos) ⇒ Object
1694 1695 1696 |
# File 'lib/imgui.rb', line 1694 def PathLineToMergeDuplicate(pos) ImGui::ImDrawList_PathLineToMergeDuplicate(self, pos) end |
#PathRect(rect_min, rect_max, rounding = 0.0, flags = 0) ⇒ Object
1734 1735 1736 |
# File 'lib/imgui.rb', line 1734 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
1706 1707 1708 |
# File 'lib/imgui.rb', line 1706 def PathStroke(col, thickness = 1.0, flags = 0) ImGui::ImDrawList_PathStroke(self, col, thickness, flags) end |
#PathStrokeImDrawFlags(col, flags, thickness) ⇒ Object
1806 1807 1808 |
# File 'lib/imgui.rb', line 1806 def PathStrokeImDrawFlags(col, flags, thickness) ImGui::ImDrawList_PathStrokeImDrawFlags(self, col, flags, thickness) end |
#PopClipRect ⇒ Object
1502 1503 1504 |
# File 'lib/imgui.rb', line 1502 def PopClipRect() ImGui::ImDrawList_PopClipRect(self) end |
#PopTexture ⇒ Object
1510 1511 1512 |
# File 'lib/imgui.rb', line 1510 def PopTexture() ImGui::ImDrawList_PopTexture(self) end |
#PopTextureID ⇒ Object
1814 1815 1816 |
# File 'lib/imgui.rb', line 1814 def PopTextureID() ImGui::ImDrawList_PopTextureID(self) end |
#PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) ⇒ Object
1782 1783 1784 |
# File 'lib/imgui.rb', line 1782 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
1774 1775 1776 |
# File 'lib/imgui.rb', line 1774 def PrimRect(a, b, col) ImGui::ImDrawList_PrimRect(self, a, b, col) end |
#PrimRectUV(a, b, uv_a, uv_b, col) ⇒ Object
1778 1779 1780 |
# File 'lib/imgui.rb', line 1778 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
1766 1767 1768 |
# File 'lib/imgui.rb', line 1766 def PrimReserve(idx_count, vtx_count) ImGui::ImDrawList_PrimReserve(self, idx_count, vtx_count) end |
#PrimUnreserve(idx_count, vtx_count) ⇒ Object
1770 1771 1772 |
# File 'lib/imgui.rb', line 1770 def PrimUnreserve(idx_count, vtx_count) ImGui::ImDrawList_PrimUnreserve(self, idx_count, vtx_count) end |
#PrimVtx(pos, uv, col) ⇒ Object
1794 1795 1796 |
# File 'lib/imgui.rb', line 1794 def PrimVtx(pos, uv, col) ImGui::ImDrawList_PrimVtx(self, pos, uv, col) end |
#PrimWriteIdx(idx) ⇒ Object
1790 1791 1792 |
# File 'lib/imgui.rb', line 1790 def PrimWriteIdx(idx) ImGui::ImDrawList_PrimWriteIdx(self, idx) end |
#PrimWriteVtx(pos, uv, col) ⇒ Object
1786 1787 1788 |
# File 'lib/imgui.rb', line 1786 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
1494 1495 1496 |
# File 'lib/imgui.rb', line 1494 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
1498 1499 1500 |
# File 'lib/imgui.rb', line 1498 def PushClipRectFullScreen() ImGui::ImDrawList_PushClipRectFullScreen(self) end |
#PushTexture(tex_ref) ⇒ Object
1506 1507 1508 |
# File 'lib/imgui.rb', line 1506 def PushTexture(tex_ref) ImGui::ImDrawList_PushTexture(self, tex_ref) end |
#PushTextureID(tex_ref) ⇒ Object
1810 1811 1812 |
# File 'lib/imgui.rb', line 1810 def PushTextureID(tex_ref) ImGui::ImDrawList_PushTextureID(self, tex_ref) end |