Menu

#173 wxwidgets device: Need to implement native linear gradient capability

None
closed-wont-fix
None
5
2017-10-02
2015-08-11
No

Example 30.02 has ugly looking gradient results which are due to falling back to core software emulation of a linear gradient. Instead, as discussed on list a linear gradient based on the wxwidgets library API should be used instead to get very nice results for this example (such as those from the cairo and qt devices).

Discussion

  • Alan W. Irwin

    Alan W. Irwin - 2015-08-11
    • summary: wxwidget device: Need to implement native linear gradient capability --> wxwidgets device: Need to implement native linear gradient capability
    • Group: -->
     
  • Phil Rosenberg

    Phil Rosenberg - 2017-10-02

    wxWidgets is not capable of rendering gradients in arbitrary directions, it can only do them up, down, left or right. It can also only perform linear gradients in rectangular fill areas, not arbitrary shaped polygons as required by PLplot. Therefore it seems that for the sake of consistency we should stay with the software fallback gradient, despite the ugly results when using alpha. Instead it would be better to concentrate on sorting a nicer way to render tessalating polygons in general.

    I have added this as a feature request #22 https://sourceforge.net/p/plplot/feature-requests/22/

     
  • Phil Rosenberg

    Phil Rosenberg - 2017-10-02
    • status: open --> closed-wont-fix
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.