MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ plot_tick_labels() [2/2]

MAYAFLUX_API std::vector< LabelSpec > MayaFlux::Portal::Forma::Plot::plot_tick_labels ( Kinesis::AABB2D  bounds,
const AxisRange range,
uint32_t  count,
TickEdge  edge,
glm::vec4  color,
uint8_t  decimal_places,
float  label_h,
float  label_w 
)

Convenience overload for generating tick label specs directly.

Definition at line 296 of file PlotSpec.cpp.

305{
307 .plot_bounds = bounds,
308 .range = range,
309 .count = count,
310 .edge = edge,
311 .color = color,
312 .decimal_places = decimal_places,
313 .label_h = label_h,
314 .label_w = label_w,
315 });
316}
size_t count
std::vector< LabelSpec > plot_tick_labels(const TickLabelsSpec &spec)
Generate construction-free tick label specs.
Definition PlotSpec.cpp:237
Config for generating numeric tick labels on one plot edge.
Definition PlotSpec.hpp:75

References count, MayaFlux::Portal::Forma::Plot::TickLabelsSpec::plot_bounds, and plot_tick_labels().

+ Here is the call graph for this function: