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

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

[Octave-bug-tracker] [bug #58181] MATLAB function getpixelposition() mis


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #58181] MATLAB function getpixelposition() missing
Date: Wed, 15 Apr 2020 14:58:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #2, bug #58181 (project octave):

@Gyom: the problem with this implementation is that it will potentially
trigger property listeners with unexpected side effects (I noted that while
rewriting legend.m). E.g. 


addlistener (gca, "units", "disp (\"units changed\")")
pos = getpixelposition (gca);


I think for performance and least surprise, we should make sure a 
"getsomething" (getter) function provokes as few side effects as possible. 

I'll try to propose an alternative C++ version along those lines soon.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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