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

Method Render

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

Source from the content-addressed store, hash-verified

936 GetLineRenderProps(draw_list, HalfWeight, UV0, UV1);
937 }
938 IMPLOT_INLINE bool Render(ImDrawList& draw_list, const ImRect& cull_rect, int prim) const {
939 ImVec2 P1 = this->Transformer(Getter(prim*2+0));
940 ImVec2 P2 = this->Transformer(Getter(prim*2+1));
941 if (!cull_rect.Overlaps(ImRect(ImMin(P1, P2), ImMax(P1, P2))))
942 return false;
943 PrimLine(draw_list,P1,P2,HalfWeight,Col,UV0,UV1);
944 return true;
945 }
946 const _Getter& Getter;
947 const ImU32 Col;
948 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