MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / Init

Method Init

Source/3rdParty/implot/implot_items.cpp:1050–1052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048 HalfWeight(ImMax(1.0f,weight)*0.5f)
1049 { }
1050 void Init(ImDrawList& draw_list) const {
1051 GetLineRenderProps(draw_list, HalfWeight, UV0, UV1);
1052 }
1053 IMPLOT_INLINE bool Render(ImDrawList& draw_list, const ImRect& cull_rect, int prim) const {
1054 ImVec2 P1 = this->Transformer(Getter[prim*2+0]);
1055 ImVec2 P2 = this->Transformer(Getter[prim*2+1]);

Callers

nothing calls this directly

Calls 1

GetLineRenderPropsFunction · 0.85

Tested by

no test coverage detected