Lines Matching full:figure
4 scalable figure and image handling
14 handling from the author's POV. Directives like ``kernel-figure`` implement
21 * ``.. kernel-figure``: for figure handling / a ``.. figure::`` replacement
64 Figure = images.Figure variable
140 # figure handling
141 app.add_directive("kernel-figure", KernelFigure)
469 # figure handling
480 class kernel_figure(nodes.figure):
481 """Node for ``kernel-figure`` directive."""
483 class KernelFigure(Figure):
486 Earns everything from ``.. figure::`` directive, except *remote URI* and
487 *glob* pattern. The KernelFigure wraps a figure node into a kernel_figure
498 result = Figure.run(self)
502 # wrap figure node into a kernel_figure node / see visitors
559 class KernelRender(Figure):
563 *figure* directive, plus option ``caption``. If ``caption`` has a
564 value, a figure node with the *caption* is inserted. If not, a image node is
576 # earn options from 'figure'
577 option_spec = Figure.option_spec.copy()
616 figure_node = nodes.figure('', node)
626 """Add kernel-figure anchors to 'std' domain.
629 the caption (label) of ``kernel-figure`` directive (it only knows about
630 standard nodes, e.g. table, figure etc.). Without any additional handling
633 This handle adds labels of kernel-figure to the 'std' domain labels.