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:

    0_1499261306323_moss.png

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

    Thanks a lot.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.