octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58282] Missing plot properties 'MarkerFaceAlp


From: Rik
Subject: [Octave-bug-tracker] [bug #58282] Missing plot properties 'MarkerFaceAlpha' and 'MarkerEdgeAlpha' in the scatter function
Date: Mon, 11 May 2020 17:54:28 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #12, bug #58282 (project octave):

Printing of markers for scatter objects is going to be different from that for
line objects because line objects don't implement "MarkerFaceAlpha".

I think fixing alpha printing might require some real understanding of the
library gl2ps and someone to look at gl2ps-print.cc.  For example, alpha
blending might be disabled according to this code in draw_axes.


      if (has_alpha (props.get___myhandle__ ()))
        {
          opts &= ~GL2PS_OCCLUSION_CULL;
          // FIXME: currently the GL2PS_BLEND (which is more an equivalent of
          // GL_ALPHA_TEST than GL_BLEND) is not working on a per primitive
          // basis.  We thus set it once per viewport.
          gl2psEnable (GL2PS_BLEND);
        }
      else
        {
          opts |= GL2PS_OCCLUSION_CULL;
          gl2psDisable (GL2PS_BLEND);
        }




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58282>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]