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

Method Render

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

Source from the content-addressed store, hash-verified

905 GetLineRenderProps(draw_list, HalfWeight, UV0, UV1);
906 }
907 IMPLOT_INLINE bool Render(ImDrawList& draw_list, const ImRect& cull_rect, int prim) const {
908 ImVec2 P2 = this->Transformer(Getter(prim + 1));
909 if (!cull_rect.Overlaps(ImRect(ImMin(P1, P2), ImMax(P1, P2)))) {
910 if (!ImNan(P2.x) && !ImNan(P2.y))
911 P1 = P2;
912 return false;
913 }
914 PrimLine(draw_list,P1,P2,HalfWeight,Col,UV0,UV1);
915 if (!ImNan(P2.x) && !ImNan(P2.y))
916 P1 = P2;
917 return true;
918 }
919 const _Getter& Getter;
920 const ImU32 Col;
921 mutable float HalfWeight;

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected