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

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

[Octave-bug-tracker] [bug #38683] "color" parameter in text command does


From: Rik
Subject: [Octave-bug-tracker] [bug #38683] "color" parameter in text command does nothing
Date: Mon, 24 Jun 2013 00:52:59 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

Follow-up Comment #7, bug #38683 (project octave):

This is the third time that this bug has been reported.  See bug #37007 for
the original report.

Apparently an updater of some sort is failing to fire when setting the color
of text objects.  However, if the text string is changed so that it needs to
be re-drawn then the color is respected.

Sample code:


ht = text (0.5, 0.5, "Hello World");
set (ht, 'color', 'r');  # no effect, text still black
get (ht, 'color')       # But, property/value is updated correctly
[1 0 0]
set (ht, 'string', 'Goodbye World'); # now text is red



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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