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

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

[Octave-bug-tracker] [bug #52975] regression: print to svg contains two


From: Rik
Subject: [Octave-bug-tracker] [bug #52975] regression: print to svg contains two backplanes, one black and one white
Date: Wed, 31 Jan 2018 15:05:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #4, bug #52975 (project octave):

I did some experimentation.  If I remove the GL2PS_DRAW_BACKGROUND from
gl2psBeginPage then I don't get two backplanes.  However, I also don't get a
colored background if I have chosen one.

I modified draw_axes to always disable GL2PS_DRAW_BACKGROUND with


      // Don't remove hidden primitives when some of them are transparent
      GLint opts;
      gl2psGetOptions (&opts);
      opts &= ~GL2PS_DRAW_BACKGROUND;  // added line


right near the top of the function.  This doesn't seem to have any effect.  It
sort of makes you wonder why we need it.

But, anyways, this seems to point to the sequence


gl2psBeginPage 
opengl_renderer::draw (go);
gl2psEndPage ();




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52975>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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