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

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

[Octave-bug-tracker] [bug #52940] Regression with "PaperPosition" and pr


From: Rik
Subject: [Octave-bug-tracker] [bug #52940] Regression with "PaperPosition" and printing
Date: Wed, 24 Jan 2018 10:20:26 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #26, bug #52940 (project octave):

If you want to experiment with an out-of-band communication protocol you could
use the hidden figure property __guidata__ which is normally used to implement
the guidata() function.

In libinterp/corefcn/graphics.in.h:3173


      any_property __guidata__ h , Matrix ()


To pass data,


set (gcf, "__guidata__", [0, 0, 1200, 800])


If this eventually works we could add a hidden property just for printing such
as __canvas_size__.  Although my guess is that in the long term we might want
to convert any calculations of size in to a C++ function and make that
available to m-files if *they* really need it.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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