Important: Please read the Qt Code of Conduct -

How to render a patch filled with interpolated vertex color(or alpha) data

  • Hi
    I Use QwtPolar Library, want to plot a patch with its vertex position coordinate and its vertex color (or alpha) data in QWTPolarItem's draw function,
    but I need the renderer fill the patch automatically with interpolated vertex data.
    As example, I plotted a simple triangle in MATLAB with 3 vertex and 3 different vertex color (or alpha) data, see below image carefully:


    How can I do it in QWTPolar?Is there any way?

    Thanks a lot.

Log in to reply