![]() |
Prusa Slicer 2.6.0
|
#include <src/imgui/imgui.h>
Collaboration diagram for ImDrawList:Public Attributes | |
| ImVector< ImDrawCmd > | CmdBuffer |
| ImVector< ImDrawIdx > | IdxBuffer |
| ImVector< ImDrawVert > | VtxBuffer |
| ImDrawListFlags | Flags |
| unsigned int | _VtxCurrentIdx |
| const ImDrawListSharedData * | _Data |
| const char * | _OwnerName |
| ImDrawVert * | _VtxWritePtr |
| ImDrawIdx * | _IdxWritePtr |
| ImVector< ImVec4 > | _ClipRectStack |
| ImVector< ImTextureID > | _TextureIdStack |
| ImVector< ImVec2 > | _Path |
| ImDrawCmdHeader | _CmdHeader |
| ImDrawListSplitter | _Splitter |
| float | _FringeScale |
|
inline |
|
inline |
| int ImDrawList::_CalcCircleAutoSegmentCount | ( | float | radius | ) | const |
References _Data, ImDrawListSharedData::CircleSegmentCounts, ImDrawListSharedData::CircleSegmentMaxError, IM_ARRAYSIZE, and IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC.
Referenced by _PathArcToFastEx(), AddCircle(), AddCircleFilled(), PathArcTo(), and ImGui::ShowStyleEditor().
Here is the caller graph for this function:| void ImDrawList::_ClearFreeMemory | ( | ) |
References _ClipRectStack, _IdxWritePtr, _Path, _Splitter, _TextureIdStack, _VtxCurrentIdx, _VtxWritePtr, ImVector< T >::clear(), ImDrawListSplitter::ClearFreeMemory(), CmdBuffer, Flags, IdxBuffer, ImDrawListFlags_None, and VtxBuffer.
Referenced by ImGui::GcCompactTransientWindowBuffers().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_OnChangedClipRect | ( | ) |
References _CmdHeader, AddDrawCmd(), ImDrawCmd::ClipRect, ImDrawCmdHeader::ClipRect, CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, IM_ASSERT, ImDrawCmd_HeaderCompare, ImVector< T >::pop_back(), ImVector< T >::Size, and ImDrawCmd::UserCallback.
Referenced by PopClipRect(), and PushClipRect().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_OnChangedTextureID | ( | ) |
References _CmdHeader, AddDrawCmd(), CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, IM_ASSERT, ImDrawCmd_HeaderCompare, ImVector< T >::pop_back(), ImVector< T >::Size, ImDrawCmd::TextureId, ImDrawCmdHeader::TextureId, and ImDrawCmd::UserCallback.
Referenced by PopTextureID(), and PushTextureID().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_OnChangedVtxOffset | ( | ) |
References _CmdHeader, _VtxCurrentIdx, AddDrawCmd(), CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, IM_ASSERT, ImVector< T >::Size, ImDrawCmd::UserCallback, ImDrawCmd::VtxOffset, and ImDrawCmdHeader::VtxOffset.
Referenced by PrimReserve().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_PathArcToFastEx | ( | const ImVec2 & | center, |
| float | radius, | ||
| int | a_min_sample, | ||
| int | a_max_sample, | ||
| int | a_step | ||
| ) |
References _CalcCircleAutoSegmentCount(), _Data, _Path, ImDrawListSharedData::ArcFastVtx, ImVector< T >::Data, IM_ASSERT_PARANOID, IM_DRAWLIST_ARCFAST_SAMPLE_MAX, IM_DRAWLIST_ARCFAST_TABLE_SIZE, ImAbs(), ImClamp(), ImVector< T >::push_back(), ImVector< T >::resize(), ImVector< T >::Size, ImVec2::x, and ImVec2::y.
Referenced by PathArcTo(), and PathArcToFast().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_PathArcToN | ( | const ImVec2 & | center, |
| float | radius, | ||
| float | a_min, | ||
| float | a_max, | ||
| int | num_segments | ||
| ) |
References _Path, ImCos, ImSin, ImVector< T >::push_back(), ImVector< T >::reserve(), ImVector< T >::Size, ImVec2::x, and ImVec2::y.
Referenced by PathArcTo().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_PopUnusedDrawCmd | ( | ) |
References CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, ImVector< T >::pop_back(), ImVector< T >::Size, and ImDrawCmd::UserCallback.
Referenced by AddDrawListToDrawData(), and ImDrawListSplitter::Merge().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::_ResetForNewFrame | ( | ) |
References _ClipRectStack, _CmdHeader, _Data, _FringeScale, _IdxWritePtr, _Path, _Splitter, _TextureIdStack, _VtxCurrentIdx, _VtxWritePtr, ImDrawListSplitter::Clear(), CmdBuffer, Flags, IdxBuffer, IM_ASSERT, IM_OFFSETOF, ImDrawListSharedData::InitialFlags, ImVector< T >::push_back(), ImVector< T >::resize(), and VtxBuffer.
Referenced by ImGui::Begin(), and GetViewportDrawList().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddBezierCubic | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col, | ||
| float | thickness, | ||
| int | num_segments = 0 |
||
| ) |
References col(), IM_COL32_A_MASK, PathBezierCubicCurveTo(), PathLineTo(), and PathStroke().
Referenced by ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References col().
Here is the call graph for this function:| void ImDrawList::AddBezierQuadratic | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| ImU32 | col, | ||
| float | thickness, | ||
| int | num_segments = 0 |
||
| ) |
References col(), IM_COL32_A_MASK, PathBezierQuadraticCurveTo(), PathLineTo(), and PathStroke().
Referenced by ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddCallback | ( | ImDrawCallback | callback, |
| void * | callback_data | ||
| ) |
References AddDrawCmd(), CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, IM_ASSERT, ImVector< T >::Size, ImDrawCmd::UserCallback, and ImDrawCmd::UserCallbackData.
Here is the call graph for this function:| void ImDrawList::AddCircle | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments = 0, |
||
| float | thickness = 1.0f |
||
| ) |
References _CalcCircleAutoSegmentCount(), col(), IM_COL32_A_MASK, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX, IM_PI, ImClamp(), ImDrawFlags_Closed, PathArcTo(), PathArcToFast(), and PathStroke().
Referenced by ImGui::ColorPicker4(), ImGui::RadioButton(), ShowExampleAppCustomRendering(), and ImGui::ShowStyleEditor().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddCircleFilled | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments = 0 |
||
| ) |
References _CalcCircleAutoSegmentCount(), col(), IM_COL32_A_MASK, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX, IM_PI, ImClamp(), PathArcTo(), PathArcToFast(), and PathFillConvex().
Referenced by ImGui::CloseButton(), ImGui::CollapseButton(), ImGui::ColorPicker4(), ImGui::NavUpdate(), ImGui::RadioButton(), Slic3r::GUI::GCodeViewer::render_legend(), ImGui::RenderBullet(), and ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:References _Data, _FringeScale, _IdxWritePtr, _VtxCurrentIdx, _VtxWritePtr, col(), ImDrawVert::col, Flags, IM_FIXNORMAL2F, IM_NORMALIZE2F_OVER_ZERO, ImDrawListFlags_AntiAliasedFill, ImDrawVert::pos, PrimReserve(), ImDrawListSharedData::TexUvWhitePixel, ImDrawVert::uv, ImVec2::x, and ImVec2::y.
Here is the call graph for this function:| void ImDrawList::AddDrawCmd | ( | ) |
References _CmdHeader, ImDrawCmd::ClipRect, ImDrawCmdHeader::ClipRect, CmdBuffer, IdxBuffer, ImDrawCmd::IdxOffset, IM_ASSERT, ImVector< T >::push_back(), ImVector< T >::Size, ImDrawCmd::TextureId, ImDrawCmdHeader::TextureId, ImDrawCmd::VtxOffset, ImDrawCmdHeader::VtxOffset, ImVec4::w, ImVec4::x, ImVec4::y, and ImVec4::z.
Referenced by _OnChangedClipRect(), _OnChangedTextureID(), _OnChangedVtxOffset(), AddCallback(), ImDrawListSplitter::Merge(), and ImDrawListSplitter::SetCurrentChannel().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddImage | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p_min, | ||
| const ImVec2 & | p_max, | ||
| const ImVec2 & | uv_min = ImVec2(0, 0), |
||
| const ImVec2 & | uv_max = ImVec2(1, 1), |
||
| ImU32 | col = IM_COL32_WHITE |
||
| ) |
References _CmdHeader, col(), IM_COL32_A_MASK, PopTextureID(), PrimRectUV(), PrimReserve(), PushTextureID(), and ImDrawCmdHeader::TextureId.
Referenced by AddImageRounded(), Slic3r::GUI::ImGuiWrapper::draw_icon(), ImGui::Image(), Slic3r::GUI::image_button_ex(), ImGui::ImageButtonEx(), and ImGui::RenderMouseCursor().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddImageQuad | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p1, | ||
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| const ImVec2 & | uv1 = ImVec2(0, 0), |
||
| const ImVec2 & | uv2 = ImVec2(1, 0), |
||
| const ImVec2 & | uv3 = ImVec2(1, 1), |
||
| const ImVec2 & | uv4 = ImVec2(0, 1), |
||
| ImU32 | col = IM_COL32_WHITE |
||
| ) |
References _CmdHeader, col(), IM_COL32_A_MASK, PopTextureID(), PrimQuadUV(), PrimReserve(), PushTextureID(), and ImDrawCmdHeader::TextureId.
Here is the call graph for this function:| void ImDrawList::AddImageRounded | ( | ImTextureID | user_texture_id, |
| const ImVec2 & | p_min, | ||
| const ImVec2 & | p_max, | ||
| const ImVec2 & | uv_min, | ||
| const ImVec2 & | uv_max, | ||
| ImU32 | col, | ||
| float | rounding, | ||
| ImDrawFlags | flags = 0 |
||
| ) |
References _CmdHeader, AddImage(), col(), FixRectCornerFlags(), IM_COL32_A_MASK, ImDrawFlags_RoundCornersMask_, ImDrawFlags_RoundCornersNone, PathFillConvex(), PathRect(), PopTextureID(), PushTextureID(), ImGui::ShadeVertsLinearUV(), ImVector< T >::Size, ImDrawCmdHeader::TextureId, and VtxBuffer.
Here is the call graph for this function:| void ImDrawList::AddLine | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
References col(), IM_COL32_A_MASK, PathLineTo(), and PathStroke().
Referenced by ImGui::BeginTabBarEx(), ImGui::CloseButton(), ImGui::DebugNodeTabBar(), Slic3r::GUI::ImGuiWrapper::draw(), ImGui::EndColumns(), ImGui::InputTextEx(), ImGui::PlotEx(), Slic3r::GUI::NotificationManager::ProgressBarNotification::render_bar(), Slic3r::GUI::NotificationManager::PopNotification::render_hypertext(), Slic3r::GUI::GCodeViewer::render_legend(), ImGui::RenderWindowDecorations(), ImGui::RenderWindowOuterBorders(), ImGui::SeparatorEx(), ShowDemoWindowMisc(), ShowExampleAppCustomRendering(), ImGui::TableDrawBorders(), and ImGui::TableEndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddNgon | ( | const ImVec2 & | center, |
| float | radius, | ||
| ImU32 | col, | ||
| int | num_segments, | ||
| float | thickness = 1.0f |
||
| ) |
References col(), IM_COL32_A_MASK, IM_PI, ImDrawFlags_Closed, PathArcTo(), and PathStroke().
Referenced by ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:References col(), IM_COL32_A_MASK, IM_PI, PathArcTo(), and PathFillConvex().
Referenced by Slic3r::GUI::GLGizmoCut3D::render_color_marker(), Slic3r::GUI::GCodeViewer::render_legend(), and ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddPolyline | ( | const ImVec2 * | points, |
| int | num_points, | ||
| ImU32 | col, | ||
| ImDrawFlags | flags, | ||
| float | thickness | ||
| ) |
References _Data, _FringeScale, _IdxWritePtr, _VtxCurrentIdx, _VtxWritePtr, col(), ImDrawVert::col, ImFont::ContainerAtlas, Flags, ImFontAtlas::Flags, ImDrawListSharedData::Font, IM_ASSERT_PARANOID, IM_DRAWLIST_TEX_LINES_WIDTH_MAX, IM_FIXNORMAL2F, IM_NORMALIZE2F_OVER_ZERO, ImDrawFlags_Closed, ImDrawListFlags_AntiAliasedLines, ImDrawListFlags_AntiAliasedLinesUseTex, ImFontAtlasFlags_NoBakedLines, ImMax(), ImDrawVert::pos, PrimReserve(), ImDrawListSharedData::TexUvLines, ImDrawListSharedData::TexUvWhitePixel, ImDrawVert::uv, ImVec4::w, ImVec2::x, ImVec4::x, ImVec2::y, ImVec4::y, and ImVec4::z.
Referenced by ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(), and ImGui::DebugNodeDrawList().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddQuad | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
References col(), IM_COL32_A_MASK, ImDrawFlags_Closed, PathLineTo(), and PathStroke().
Here is the call graph for this function:| void ImDrawList::AddQuadFilled | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| ImU32 | col | ||
| ) |
References col(), IM_COL32_A_MASK, PathFillConvex(), and PathLineTo().
Here is the call graph for this function:| void ImDrawList::AddRect | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col, | ||
| float | rounding = 0.0f, |
||
| ImDrawFlags | flags = 0, |
||
| float | thickness = 1.0f |
||
| ) |
References col(), Flags, IM_COL32_A_MASK, ImDrawFlags_Closed, ImDrawListFlags_AntiAliasedLines, PathRect(), and PathStroke().
Referenced by ImGui::AcceptDragDropPayload(), ImGui::Begin(), ImGui::ColorButton(), ImGui::DebugDrawItemRect(), ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(), ImGui::DebugNodeDrawList(), ImGui::DebugNodeTabBar(), ImGui::DebugNodeTable(), ImGui::DebugNodeWindow(), ImGui::DebugRenderViewportThumbnail(), Slic3r::GUI::ImGuiWrapper::draw_radio_button(), ImGui::Image(), ImGui::ItemHoverable(), ImGui::NavScoreItem(), ImGui::NavUpdate(), Slic3r::GUI::GCodeViewer::SequentialView::GCodeWindow::render(), Slic3r::GUI::render_extruders_combo(), ImGui::RenderFrame(), ImGui::RenderFrameBorder(), ImGui::RenderNavHighlight(), ImGui::RenderWindowOuterBorders(), ShowDemoWindowWidgets(), ShowExampleAppCustomRendering(), ShowFont(), ImGui::ShowMetricsWindow(), ImGui::TableDrawBorders(), and ImGui::TableMergeDrawChannels().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddRectFilled | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col, | ||
| float | rounding = 0.0f, |
||
| ImDrawFlags | flags = 0 |
||
| ) |
References col(), IM_COL32_A_MASK, ImDrawFlags_RoundCornersMask_, ImDrawFlags_RoundCornersNone, PathFillConvex(), PathRect(), PrimRect(), and PrimReserve().
Referenced by ImGui::Begin(), ImGui::BeginCombo(), ImGui::Checkbox(), ImGui::ColorButton(), ImGui::DebugRenderViewportThumbnail(), Slic3r::GUI::image_button_ex(), ImGui::ImageButtonEx(), ImGui::InputTextEx(), ImGui::NavScoreItem(), Slic3r::GUI::GLGizmoMeasure::on_render_input_window(), ImGui::PlotEx(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::GUI::render_extruders_combo(), Slic3r::GUI::GCodeViewer::render_legend(), ImGui::RenderColorRectWithAlphaCheckerboard(), ImGui::RenderFrame(), ImGui::RenderRectFilledRangeH(), ImGui::RenderRectFilledWithHole(), ImGui::RenderWindowDecorations(), ImGui::ScrollbarEx(), ShowDemoWindowLayout(), ShowDemoWindowWidgets(), ShowExampleAppCustomRendering(), ShowExampleMenuFile(), ImGui::ShowMetricsWindow(), ImGui::SliderScalar(), ImGui::SplitterBehavior(), ImGui::TableEndRow(), ImGui::TableMergeDrawChannels(), and ImGui::VSliderScalar().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddRectFilledMultiColor | ( | const ImVec2 & | p_min, |
| const ImVec2 & | p_max, | ||
| ImU32 | col_upr_left, | ||
| ImU32 | col_upr_right, | ||
| ImU32 | col_bot_right, | ||
| ImU32 | col_bot_left | ||
| ) |
References _Data, _VtxCurrentIdx, IM_COL32_A_MASK, PrimReserve(), PrimWriteIdx(), PrimWriteVtx(), ImDrawListSharedData::TexUvWhitePixel, ImVec2::x, and ImVec2::y.
Referenced by ImGui::ColorPicker4(), and ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddText | ( | const ImFont * | font, |
| float | font_size, | ||
| const ImVec2 & | pos, | ||
| ImU32 | col, | ||
| const char * | text_begin, | ||
| const char * | text_end = NULL, |
||
| float | wrap_width = 0.0f, |
||
| const ImVec4 * | cpu_fine_clip_rect = NULL |
||
| ) |
References _CmdHeader, _Data, ImDrawCmdHeader::ClipRect, col(), ImFont::ContainerAtlas, ImDrawListSharedData::Font, ImDrawListSharedData::FontSize, IM_ASSERT, IM_COL32_A_MASK, ImMax(), ImMin(), ImFont::RenderText(), ImFontAtlas::TexID, ImDrawCmdHeader::TextureId, ImVec4::w, ImVec4::x, ImVec4::y, and ImVec4::z.
Here is the call graph for this function:| void ImDrawList::AddText | ( | const ImVec2 & | pos, |
| ImU32 | col, | ||
| const char * | text_begin, | ||
| const char * | text_end = NULL |
||
| ) |
References AddText(), and col().
Referenced by AddText(), ImGui::DebugRenderViewportThumbnail(), igl::opengl::glfw::imgui::ImGuiMenu::draw_text(), ImGui::InputTextEx(), ImGui::NavScoreItem(), ImGui::NavUpdate(), ImGui::RenderText(), ImGui::RenderTextClippedEx(), ImGui::RenderTextWrapped(), ShowDemoWindowLayout(), ImGui::ShowMetricsWindow(), and ImGui::TableMergeDrawChannels().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddTriangle | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| ImU32 | col, | ||
| float | thickness = 1.0f |
||
| ) |
References col(), IM_COL32_A_MASK, ImDrawFlags_Closed, PathLineTo(), and PathStroke().
Referenced by ImGui::ColorPicker4(), and ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::AddTriangleFilled | ( | const ImVec2 & | p1, |
| const ImVec2 & | p2, | ||
| const ImVec2 & | p3, | ||
| ImU32 | col | ||
| ) |
References col(), IM_COL32_A_MASK, PathFillConvex(), and PathLineTo().
Referenced by ImGui::RenderArrow(), ImGui::RenderArrowPointingAt(), and ShowExampleAppCustomRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
References ImDrawListSplitter::SetCurrentChannel().
Here is the call graph for this function:
|
inline |
References ImDrawListSplitter::Split().
Here is the call graph for this function:| ImDrawList * ImDrawList::CloneOutput | ( | ) | const |
|
inline |
References ImVector< T >::back(), ImVec4::w, and ImVec4::z.
Here is the call graph for this function:
|
inline |
References ImVector< T >::back(), ImVec4::x, and ImVec4::y.
Here is the call graph for this function:| void ImDrawList::PathArcTo | ( | const ImVec2 & | center, |
| float | radius, | ||
| float | a_min, | ||
| float | a_max, | ||
| int | num_segments = 0 |
||
| ) |
References _CalcCircleAutoSegmentCount(), _Path, _PathArcToFastEx(), _PathArcToN(), IM_DRAWLIST_ARCFAST_SAMPLE_MAX, IM_PI, ImAbs(), ImCeil, ImCos, ImFloorSigned(), ImMax(), ImSin, ImVector< T >::push_back(), ImVector< T >::reserve(), ImVector< T >::Size, ImVec2::x, and ImVec2::y.
Referenced by AddCircle(), AddCircleFilled(), AddNgon(), AddNgonFilled(), ImGui::ColorPicker4(), ImGui::RenderRectFilledRangeH(), and ImGui::RenderWindowOuterBorders().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PathArcToFast | ( | const ImVec2 & | center, |
| float | radius, | ||
| int | a_min_of_12, | ||
| int | a_max_of_12 | ||
| ) |
References _Path, _PathArcToFastEx(), IM_DRAWLIST_ARCFAST_SAMPLE_MAX, and ImVector< T >::push_back().
Referenced by AddCircle(), AddCircleFilled(), PathRect(), ImGui::RenderRectFilledRangeH(), ImGui::RenderWindowDecorations(), and ImGui::TabItemBackground().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PathBezierCubicCurveTo | ( | const ImVec2 & | p2, |
| const ImVec2 & | p3, | ||
| const ImVec2 & | p4, | ||
| int | num_segments = 0 |
||
| ) |
References _Data, _Path, ImVector< T >::back(), ImDrawListSharedData::CurveTessellationTol, ImBezierCubicCalc(), PathBezierCubicCurveToCasteljau(), ImVector< T >::push_back(), ImVec2::x, and ImVec2::y.
Referenced by AddBezierCubic().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void ImDrawList::PathBezierQuadraticCurveTo | ( | const ImVec2 & | p2, |
| const ImVec2 & | p3, | ||
| int | num_segments = 0 |
||
| ) |
References _Data, _Path, ImVector< T >::back(), ImDrawListSharedData::CurveTessellationTol, ImBezierQuadraticCalc(), PathBezierQuadraticCurveToCasteljau(), ImVector< T >::push_back(), ImVec2::x, and ImVec2::y.
Referenced by AddBezierQuadratic().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References ImVector< T >::Size.
References col(), ImVector< T >::Data, and ImVector< T >::Size.
Referenced by AddCircleFilled(), AddImageRounded(), AddNgonFilled(), AddQuadFilled(), AddRectFilled(), AddTriangleFilled(), ImGui::RenderRectFilledRangeH(), ImGui::RenderWindowDecorations(), and ImGui::TabItemBackground().
Here is the call graph for this function:
Here is the caller graph for this function:References ImVector< T >::push_back().
Referenced by AddBezierCubic(), AddBezierQuadratic(), AddLine(), AddQuad(), AddQuadFilled(), AddTriangle(), AddTriangleFilled(), PathRect(), ImGui::RenderCheckMark(), ImGui::RenderRectFilledRangeH(), ImGui::RenderWindowDecorations(), and ImGui::TabItemBackground().
Here is the call graph for this function:
Here is the caller graph for this function:References ImVector< T >::Data, ImVector< T >::push_back(), and ImVector< T >::Size.
Here is the call graph for this function:| void ImDrawList::PathRect | ( | const ImVec2 & | rect_min, |
| const ImVec2 & | rect_max, | ||
| float | rounding = 0.0f, |
||
| ImDrawFlags | flags = 0 |
||
| ) |
References FixRectCornerFlags(), ImDrawFlags_RoundCornersBottom, ImDrawFlags_RoundCornersBottomLeft, ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersLeft, ImDrawFlags_RoundCornersMask_, ImDrawFlags_RoundCornersNone, ImDrawFlags_RoundCornersRight, ImDrawFlags_RoundCornersTop, ImDrawFlags_RoundCornersTopLeft, ImDrawFlags_RoundCornersTopRight, ImFabs, ImMin(), PathArcToFast(), and PathLineTo().
Referenced by AddImageRounded(), AddRect(), and AddRectFilled().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References col(), ImVector< T >::Data, and ImVector< T >::Size.
Referenced by AddBezierCubic(), AddBezierQuadratic(), AddCircle(), AddLine(), AddNgon(), AddQuad(), AddRect(), AddTriangle(), ImGui::ColorPicker4(), ImGui::RenderCheckMark(), ImGui::RenderWindowOuterBorders(), and ImGui::TabItemBackground().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PopClipRect | ( | ) |
References _ClipRectStack, _CmdHeader, _Data, _OnChangedClipRect(), ImDrawCmdHeader::ClipRect, ImDrawListSharedData::ClipRectFullscreen, ImVector< T >::Data, ImVector< T >::pop_back(), and ImVector< T >::Size.
Referenced by ImGui::AcceptDragDropPayload(), ImGui::EndTable(), ImGui::PopClipRect(), ImGui::RenderNavHighlight(), ShowDemoWindowLayout(), ShowExampleAppCustomRendering(), and ImGui::TableDrawBorders().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PopTextureID | ( | ) |
References _CmdHeader, _OnChangedTextureID(), _TextureIdStack, ImVector< T >::Data, ImVector< T >::pop_back(), ImVector< T >::Size, and ImDrawCmdHeader::TextureId.
Referenced by AddImage(), AddImageQuad(), AddImageRounded(), ImGui::PopFont(), and ImGui::RenderMouseCursor().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PrimQuadUV | ( | const ImVec2 & | a, |
| const ImVec2 & | b, | ||
| const ImVec2 & | c, | ||
| const ImVec2 & | d, | ||
| const ImVec2 & | uv_a, | ||
| const ImVec2 & | uv_b, | ||
| const ImVec2 & | uv_c, | ||
| const ImVec2 & | uv_d, | ||
| ImU32 | col | ||
| ) |
References _IdxWritePtr, _VtxCurrentIdx, _VtxWritePtr, col(), ImDrawVert::col, ImDrawVert::pos, and ImDrawVert::uv.
Referenced by AddImageQuad().
Here is the call graph for this function:
Here is the caller graph for this function:References _Data, _IdxWritePtr, _VtxCurrentIdx, _VtxWritePtr, col(), ImDrawVert::col, ImDrawVert::pos, ImDrawListSharedData::TexUvWhitePixel, and ImDrawVert::uv.
Referenced by AddRectFilled().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PrimRectUV | ( | const ImVec2 & | a, |
| const ImVec2 & | b, | ||
| const ImVec2 & | uv_a, | ||
| const ImVec2 & | uv_b, | ||
| ImU32 | col | ||
| ) |
References _IdxWritePtr, _VtxCurrentIdx, _VtxWritePtr, col(), ImDrawVert::col, ImDrawVert::pos, ImDrawVert::uv, ImVec2::x, and ImVec2::y.
Referenced by AddImage(), and ImFont::RenderChar().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PrimReserve | ( | int | idx_count, |
| int | vtx_count | ||
| ) |
References _CmdHeader, _IdxWritePtr, _OnChangedVtxOffset(), _VtxCurrentIdx, _VtxWritePtr, CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, Flags, IdxBuffer, IM_ASSERT_PARANOID, ImDrawListFlags_AllowVtxOffset, ImVector< T >::resize(), ImVector< T >::Size, VtxBuffer, and ImDrawCmdHeader::VtxOffset.
Referenced by AddConvexPolyFilled(), AddImage(), AddImageQuad(), AddPolyline(), AddRectFilled(), AddRectFilledMultiColor(), ImGui::ColorPicker4(), ImFont::RenderChar(), and ImFont::RenderText().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PrimUnreserve | ( | int | idx_count, |
| int | vtx_count | ||
| ) |
References CmdBuffer, ImVector< T >::Data, ImDrawCmd::ElemCount, IdxBuffer, IM_ASSERT_PARANOID, ImVector< T >::shrink(), ImVector< T >::Size, and VtxBuffer.
Here is the call graph for this function:References col().
Referenced by ImGui::ColorPicker4().
Here is the call graph for this function:
Here is the caller graph for this function:References col(), ImDrawVert::col, ImDrawVert::pos, and ImDrawVert::uv.
Referenced by AddRectFilledMultiColor().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PushClipRect | ( | ImVec2 | clip_rect_min, |
| ImVec2 | clip_rect_max, | ||
| bool | intersect_with_current_clip_rect = false |
||
| ) |
References _ClipRectStack, _CmdHeader, _OnChangedClipRect(), ImDrawCmdHeader::ClipRect, ImMax(), ImVector< T >::push_back(), ImVec4::w, ImVec2::x, ImVec4::x, ImVec2::y, ImVec4::y, and ImVec4::z.
Referenced by ImGui::AcceptDragDropPayload(), GetViewportDrawList(), ImGui::PushClipRect(), PushClipRectFullScreen(), ImGui::RenderNavHighlight(), ShowDemoWindowLayout(), ShowExampleAppCustomRendering(), ImGui::TableDrawBorders(), and ImGui::TableUpdateLayout().
Here is the call graph for this function:
Here is the caller graph for this function:| void ImDrawList::PushClipRectFullScreen | ( | ) |
References _Data, ImDrawListSharedData::ClipRectFullscreen, PushClipRect(), ImVec4::w, ImVec4::x, ImVec4::y, and ImVec4::z.
Here is the call graph for this function:| void ImDrawList::PushTextureID | ( | ImTextureID | texture_id | ) |
References _CmdHeader, _OnChangedTextureID(), _TextureIdStack, ImVector< T >::push_back(), and ImDrawCmdHeader::TextureId.
Referenced by AddImage(), AddImageQuad(), AddImageRounded(), ImGui::Begin(), GetViewportDrawList(), ImGui::PushFont(), and ImGui::RenderMouseCursor().
Here is the call graph for this function:
Here is the caller graph for this function:| ImDrawCmdHeader ImDrawList::_CmdHeader |
Referenced by _OnChangedClipRect(), _OnChangedTextureID(), _OnChangedVtxOffset(), _ResetForNewFrame(), AddDrawCmd(), AddImage(), AddImageQuad(), AddImageRounded(), AddText(), ImDrawListSplitter::Merge(), PopClipRect(), PopTextureID(), PrimReserve(), PushClipRect(), PushTextureID(), ImDrawListSplitter::SetCurrentChannel(), ImGui::SetWindowClipRectBeforeSetChannel(), and ImGui::TableEndRow().
| const ImDrawListSharedData* ImDrawList::_Data |
Referenced by ImGuiWindow::ImGuiWindow(), _CalcCircleAutoSegmentCount(), _PathArcToFastEx(), _ResetForNewFrame(), AddConvexPolyFilled(), AddPolyline(), AddRectFilledMultiColor(), AddText(), CloneOutput(), PathBezierCubicCurveTo(), PathBezierQuadraticCurveTo(), PopClipRect(), PrimRect(), PushClipRectFullScreen(), ImGui::RenderArrow(), ImGui::RenderBullet(), ImGui::RenderMouseCursor(), and ImGui::RenderTextEllipsis().
| float ImDrawList::_FringeScale |
Referenced by _ResetForNewFrame(), AddConvexPolyFilled(), and AddPolyline().
| ImDrawIdx* ImDrawList::_IdxWritePtr |
| const char* ImDrawList::_OwnerName |
Referenced by ImGuiWindow::ImGuiWindow(), ImGui::DebugNodeDrawList(), and GetViewportDrawList().
| ImDrawListSplitter ImDrawList::_Splitter |
Referenced by _ClearFreeMemory(), and _ResetForNewFrame().
| ImVector<ImTextureID> ImDrawList::_TextureIdStack |
Referenced by _ClearFreeMemory(), _ResetForNewFrame(), PopTextureID(), and PushTextureID().
| unsigned int ImDrawList::_VtxCurrentIdx |
| ImDrawVert* ImDrawList::_VtxWritePtr |
Referenced by _ClearFreeMemory(), _OnChangedClipRect(), _OnChangedTextureID(), _OnChangedVtxOffset(), _PopUnusedDrawCmd(), _ResetForNewFrame(), AddCallback(), AddDrawCmd(), AddDrawListToDrawData(), ImGui::Begin(), CloneOutput(), ImGui::DebugNodeDrawList(), ImDrawListSplitter::Merge(), PrimReserve(), PrimUnreserve(), Slic3r::GUI::ImGuiWrapper::render_draw_data(), ImFont::RenderText(), ImDrawData::ScaleClipRects(), ImDrawListSplitter::SetCurrentChannel(), and ShowDemoWindowTables().
| ImDrawListFlags ImDrawList::Flags |
Referenced by _ClearFreeMemory(), _ResetForNewFrame(), AddDrawCmd(), AddDrawListToDrawData(), CloneOutput(), ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(), ImGui::DebugNodeDrawList(), ImDrawData::DeIndexAllBuffers(), ImGui::GcAwakeTransientWindowBuffers(), ImGui::GcCompactTransientWindowBuffers(), ImDrawListSplitter::Merge(), PrimReserve(), PrimUnreserve(), Slic3r::GUI::ImGuiWrapper::render_draw_data(), ImFont::RenderText(), and ImDrawListSplitter::SetCurrentChannel().
| ImVector<ImDrawVert> ImDrawList::VtxBuffer |
Referenced by _ClearFreeMemory(), _ResetForNewFrame(), AddDrawListToDrawData(), AddImageRounded(), ImGui::Begin(), CloneOutput(), ImGui::ColorPicker4(), ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(), ImGui::DebugNodeDrawList(), ImDrawData::DeIndexAllBuffers(), ImGui::GcAwakeTransientWindowBuffers(), ImGui::GcCompactTransientWindowBuffers(), PrimReserve(), PrimUnreserve(), Slic3r::GUI::ImGuiWrapper::render_draw_data(), ImFont::RenderText(), ImGui::ShadeVertsLinearColorGradientKeepAlpha(), and ImGui::ShadeVertsLinearUV().