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

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

[Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, l


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #39692] text objects ignore backgroundcolor, linestyle, edgecolor
Date: Mon, 23 Oct 2017 14:11:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #14, bug #39692 (project octave):

If someone tests those cases could she/he also try with clipping enabled. With
the current patch, setting "clipping" to "on" makes the background disappear
entirely since it crosses the border while the text does not. Here is the
updated test case


clf
set (gca, 'color', 'b');
ht = text (.5, .5, 'toto', 'backgroundcolor', 'r', 'margin', 20);
xlim ([0 3])
ylim ([0 3])
surface ();
view (90, 35);
drawnow
c = getframe (gcf);
imwrite (c.cdata, "view_90_35.png");
view (0, 26.8)
drawnow
c = getframe (gcf);
imwrite (c.cdata, "view_0_26.8.png"); 
set (ht, "clipping", "on")
drawnow
c = getframe (gcf);
imwrite (c.cdata, "view_0_26.8_clipping.png"); 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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