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

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

[Octave-bug-tracker] [bug #50466] hgtransform function missing


From: Rik
Subject: [Octave-bug-tracker] [bug #50466] hgtransform function missing
Date: Mon, 6 Mar 2017 14:37:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #50466 (project octave):

                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #1:

The function is known to be missing which is why it is in the unimplemented
list.  If you try at the command line you get


hgtransform
warning: the 'hgtransform' function is not yet implemented in Octave

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.


This is a different, and more appropriate error message, than if the name in
question doesn't refer to any known variable or function.


octave:2> abc
error: 'abc' undefined near line 1 column 1


Implementation, ideally, would be in C++ as a new graphics object primitive
(like line, or surface).

However, you might be able to work up a replacement in an m-file that uses
hggroup.  Child graphic primitives can have their parent properties set to an
hggroup and you can add the necessary property (Matrix) using addproperty to
make the hggroup resemble an hgtransform.  After that, you would need to add a
callback function that listens for changes on the hgtransform Matrix property
(addlistener()).  The callback functions would then use the transform Matrix
to alter the Data properties of the child objects. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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