Mercurial > octave-nkf
comparison doc/interpreter/plot.txi @ 20320:6db2ea5556a4
Make use of the axes "ticklabelinterpreter" property (bug #45438)
* plot.txi: add an anchor pointing to usage of interpreter property
* genpropdoc.m: document axes "ticklabelinterpreter" property and text "interpreter" property
* gl-render.h: new private attribute "interpreter" that stores the interperter to be used in text_to_pixels
* gl-render.h (set_interpreter): new protected virtual method to set "interpreter"
* gl-render.cc (opengl_renderer::draw_axes): set interpreter before rendering tick labels
* gl-render.cc (opengl_renderer::text_to_pixels): make use of interpreter attribute
* graphics.cc (axes::properties::set_defaults): initialize "ticklabelinterpreter" instead of unused "interpreter"
* graphics.in.h (axes::properties): fix doubly defined defaults for "ticklabelinterpreter" and "interpreter" properties
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Tue, 23 Jun 2015 22:21:50 +0200 |
parents | ca7599ae464d |
children | cdb382f1de79 |
comparison
equal
deleted
inserted
replaced
20319:085c99b96aed | 20320:6db2ea5556a4 |
---|---|
614 @DOCSTRING(close) | 614 @DOCSTRING(close) |
615 | 615 |
616 @DOCSTRING(closereq) | 616 @DOCSTRING(closereq) |
617 | 617 |
618 @node Use of the @code{interpreter} Property | 618 @node Use of the @code{interpreter} Property |
619 @anchor{XREFinterpreterusage} | |
619 @subsection Use of the @code{interpreter} Property | 620 @subsection Use of the @code{interpreter} Property |
620 | 621 |
621 All text objects---such as titles, labels, legends, and text---include | 622 All text objects---such as titles, labels, legends, and text---include |
622 the property @qcode{"interpreter"} that determines the manner in | 623 the property @qcode{"interpreter"} that determines the manner in |
623 which special control sequences in the text are rendered. | 624 which special control sequences in the text are rendered. |