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
138 # figure handling
139 app.add_directive("kernel-figure", KernelFigure)
464 # figure handling
475 class kernel_figure(nodes.figure):
476 """Node for ``kernel-figure`` directive."""
478 class KernelFigure(Figure):
481 Earns everything from ``.. figure::`` directive, except *remote URI* and
482 *glob* pattern. The KernelFigure wraps a figure node into a kernel_figure
493 result = Figure.run(self)
497 # wrap figure node into a kernel_figure node / see visitors
554 class KernelRender(Figure):
558 *figure* directive, plus option ``caption``. If ``caption`` has a
559 value, a figure node with the *caption* is inserted. If not, a image node is
571 # earn options from 'figure'
572 option_spec = Figure.option_spec.copy()
611 figure_node = nodes.figure('', node)
621 """Add kernel-figure anchors to 'std' domain.
624 the caption (label) of ``kernel-figure`` directive (it only knows about
625 standard nodes, e.g. table, figure etc.). Without any additional handling
628 This handle adds labels of kernel-figure to the 'std' domain labels.