Mercurial > octave
annotate libinterp/corefcn/mex-private.h @ 31238:67cad4e8f866
Include graphics objects with hidden handles in axes limit calculation (bug #63095).
* libinterp/corefcn/graphics.cc (get_children_limits): Get handles to all axes
children including those with hidden handle visibility. Add BIST.
* libinterp/corefcn/graphics.in.h (text::update_position): Do not automatically
change "zliminclude" property. Axes labels are implemented as text objects, and
we don't want their extent to be included in the axis limit calculation.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 24 Sep 2022 11:57:44 +0200 |
parents | 17c80c35265a |
children | e88a07dec498 |
rev | line source |
---|---|
30921
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 //////////////////////////////////////////////////////////////////////// |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 // Copyright (C) 2022 The Octave Project Developers |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 // See the file COPYRIGHT.md in the top-level directory of this |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 // distribution or <https://octave.org/copyright/>. |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 // This file is part of Octave. |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 // Octave is free software: you can redistribute it and/or modify it |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 // under the terms of the GNU General Public License as published by |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 // the Free Software Foundation, either version 3 of the License, or |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 // (at your option) any later version. |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 // Octave is distributed in the hope that it will be useful, but |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 // WITHOUT ANY WARRANTY; without even the implied warranty of |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 // GNU General Public License for more details. |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 // You should have received a copy of the GNU General Public License |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 // along with Octave; see the file COPYING. If not, see |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 // <https://www.gnu.org/licenses/>. |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 // |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 //////////////////////////////////////////////////////////////////////// |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 #if ! defined (octave_mex_private_h) |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 #define octave_mex_private_h 1 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 #include "octave-config.h" |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 OCTAVE_NAMESPACE_BEGIN |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 extern OCTINTERP_API octave_value_list |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 call_mex (octave_mex_function& mex_fcn, const octave_value_list& args, |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 int nargout_arg); |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 OCTAVE_NAMESPACE_END |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 |
17c80c35265a
* mex-private.h: Add file missing from previous change.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 #endif |