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: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52940] Regression with "PaperPosition" and printing
Date: Fri, 26 Jan 2018 12:55:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

I have some mods I made, attempting to keep them short, but it's only in
process right now as I've set it aside for this weekend.  My first step has
been to group 


+  Matrix x_gl_mat1;
+  Matrix x_gl_mat2;


with the graphics_xform and then move all those


  Matrix get_transform_matrix (void) const { return xform; }
  Matrix get_inverse_transform_matrix (void) const { return xform_inv; }
  Matrix get_opengl_matrix_1 (void) const { return x_gl_mat1; }
  Matrix get_opengl_matrix_2 (void) const { return x_gl_mat2; }
  Matrix get_transform_zlim (void) const { return zlim; }


from the axes object to the graphics_xform.  That way when the renderer gets
its own unique graphics_xform it doesn't have to refer back to the axes
properties.  I've also added a bounding box to axes.get_transform(Matrix& bb)
so that gives a route into the transform computations without going through
the "set(fig,"Position",bb)" route.

The second patch you are referring to (where the Figure doesn't change size
with "print()") doesn't and can't be made to work for the reason's I described
in #32.  So, it is only the very short patch that gets back to the original
behavior, the first one you cleaned, which could be applied.  Anyway, this
weekend I should have a changeset that isn't too drastic but gets the job
done.

    _______________________________________________________

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]