|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< LabelSpec > MayaFlux::Portal::Forma::Plot::plot_tick_labels | ( | const TickLabelsSpec & | spec | ) |
Generate construction-free tick label specs.
Values are evenly interpolated across spec.range. Label bounds are placed adjacent to spec.plot_bounds according to spec.edge.
Definition at line 237 of file PlotSpec.cpp.
References Bottom, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::color, count, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::count, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::decimal_places, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::edge, MayaFlux::Kinesis::AABB2D::height(), MayaFlux::Portal::Forma::Plot::TickLabelsSpec::label_h, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::label_w, Left, MayaFlux::Kinesis::AABB2D::max, MayaFlux::Portal::Forma::Plot::AxisRange::max, MayaFlux::Kinesis::AABB2D::min, MayaFlux::Portal::Forma::Plot::AxisRange::min, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::name_prefix, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::plot_bounds, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::range, MayaFlux::Portal::Forma::Plot::LabelSpec::text, Top, and MayaFlux::Kinesis::AABB2D::width().
Referenced by plot_tick_labels().
Here is the call graph for this function:
Here is the caller graph for this function: