Mercurial > octave-nkf
view libinterp/builtins.h @ 18701:e42843ceff48
Fix axes bounding box not obeying 'layer' property.
* gl-render.cc (draw_axes_boxes): Check layer2Dtop to decide which Z-value to
place axis at. In 2-D plot, don't draw box lines at second Z-value which
overlaps original axis and is always on top.
* graphics.cc (update_axes_layout): Set property is2D based on whether view()
elevation is 90 degrees.
* graphics.in.h (axes::properties): New is2D bool property.
* graphics.in.h (axes::properties::get_is2D): New getter function.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 23 Apr 2014 18:48:30 -0700 |
parents | d63878346099 |
children | 4197fc428c7d |
line wrap: on
line source
/* Copyright (C) 1993-2013 John W. Eaton This file is part of Octave. Octave is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, see <http://www.gnu.org/licenses/>. */ #if !defined (octave_builtins_h) #define octave_builtins_h 1 #if !defined (MAKE_BUILTINS) #include "builtin-defun-decls.h" #endif extern OCTINTERP_API void install_builtins (void); #endif