template struct ImPlot::RendererBarsLineH

Overview

template <class _Getter1, class _Getter2, class _GetterColor>
struct RendererBarsLineH: public ImPlot::RendererBase
{
    // fields

    const _Getter1& Getter1;
    const _Getter2& Getter2;
    const _GetterColor& GetterColor;
    const double HalfHeight;
    const float Weight;
    ImVec2 UV;

    // construction

    RendererBarsLineH(
        const _Getter1& getter1,
        const _Getter2& getter2,
        const _GetterColor& getter_color,
        double height,
        float weight
        );

    // methods

    void Init(ImDrawList& draw_list) const;

    IMPLOT_INLINE bool Render(
        ImDrawList& draw_list,
        const ImRect& cull_rect,
        int prim
        ) const;
};