|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::internal::Atelier::place_adornments | ( | Surface & | surface, |
| const Plot::SeriesSpec & | spec, | ||
| uint32_t | relate_to | ||
| ) |
Create and place every adornment declared on spec.
Builds one buffer per axis label, tick label, legend swatch, and legend label, then hands each to the corresponding Plot placement function. Each adornment is related to relate_to so removal and visibility cascade from the series element.
Lives here rather than in Plot because it constructs buffers, which requires the BufferManager. Plot composes placement from arguments it is given.
| surface | Surface to place on. |
| spec | Series spec carrying the adornment declarations. |
| relate_to | Element id the adornments are related to. |
Definition at line 152 of file Atelier.cpp.
References create_buffer(), MayaFlux::Portal::Forma::Plot::SeriesSpec::labels, MayaFlux::Portal::Forma::Plot::layout_legend(), MayaFlux::Portal::Forma::Plot::SeriesSpec::legend, MayaFlux::Portal::Forma::Plot::place_label(), MayaFlux::Portal::Forma::Plot::place_rect(), MayaFlux::Portal::Forma::Plot::plot_tick_labels(), MayaFlux::Portal::Forma::Plot::SeriesSpec::tick_labels, MayaFlux::Portal::Graphics::TRIANGLE_LIST, MayaFlux::Portal::Graphics::TRIANGLE_STRIP, and MayaFlux::Portal::Forma::Surface::window().
Referenced by MayaFlux::Portal::Forma::plot().
Here is the call graph for this function:
Here is the caller graph for this function: