MCPcopy Create free account
hub / github.com/SatDump/SatDump / Render

Method Render

src-core/imgui/implot/implot_items.cpp:876–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 GetLineRenderProps(draw_list, HalfWeight, UV0, UV1);
875 }
876 IMPLOT_INLINE bool Render(ImDrawList& draw_list, const ImRect& cull_rect, int prim) const {
877 ImVec2 P2 = this->Transformer(Getter(prim + 1));
878 if (!cull_rect.Overlaps(ImRect(ImMin(P1, P2), ImMax(P1, P2)))) {
879 P1 = P2;
880 return false;
881 }
882 PrimLine(draw_list,P1,P2,HalfWeight,Col,UV0,UV1);
883 P1 = P2;
884 return true;
885 }
886 const _Getter& Getter;
887 const ImU32 Col;
888 mutable float HalfWeight;

Callers

nothing calls this directly

Calls 4

ImMinFunction · 0.85
ImMaxFunction · 0.85
PrimLineFunction · 0.85
ImRectFunction · 0.50

Tested by

no test coverage detected