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

Method Init

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

Source from the content-addressed store, hash-verified

933 HalfWeight(ImMax(1.0f,weight)*0.5f)
934 { }
935 void Init(ImDrawList& draw_list) const {
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));

Callers

nothing calls this directly

Calls 1

GetLineRenderPropsFunction · 0.85

Tested by

no test coverage detected