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

Method Init

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

Source from the content-addressed store, hash-verified

1076 HalfWeight(ImMax(1.0f,weight)*0.5f)
1077 {}
1078 void Init(ImDrawList& draw_list) const {
1079 GetLineRenderProps(draw_list, HalfWeight, UV0, UV1);
1080 }
1081 IMPLOT_INLINE bool Render(ImDrawList& draw_list, const ImRect& cull_rect, int prim) const {
1082 ImVec2 P1 = this->Transformer(Getter1[prim]);
1083 ImVec2 P2 = this->Transformer(Getter2[prim]);

Callers

nothing calls this directly

Calls 1

GetLineRenderPropsFunction · 0.85

Tested by

no test coverage detected