加blend2d 图例分开显示
This commit is contained in:
@@ -7,24 +7,29 @@
|
||||
#include "../../Renderive/plottable/Waterfall_p.h"
|
||||
|
||||
namespace renderive {
|
||||
struct Abs_Plot_Private_Access {
|
||||
static int active_render_tasks(const Abs_Plot& plot) {
|
||||
return plot.d->active_render_tasks.load(std::memory_order_acquire);
|
||||
struct Renderable_Private_Access {
|
||||
static const Pmr_QImage_Buffer& cache(const Renderable& renderable) {
|
||||
return renderable.cache_image;
|
||||
}
|
||||
};
|
||||
struct Time_Axis_Private_Access {
|
||||
static Time_Axis_Private* data(Time_Axis* axis) {
|
||||
return axis->d();
|
||||
}
|
||||
};
|
||||
struct Audio_Frequency_Private_Access {
|
||||
static Audio_Frequency_Private* data(Audio_Frequency* audio) {
|
||||
return reinterpret_cast<Audio_Frequency_Private*>(audio->d_ptr);
|
||||
return audio->d();
|
||||
}
|
||||
};
|
||||
struct Planisphere_Private_Access {
|
||||
static Planisphere_Private* data(Planisphere* planisphere) {
|
||||
return reinterpret_cast<Planisphere_Private*>(planisphere->d_ptr);
|
||||
return planisphere->d();
|
||||
}
|
||||
};
|
||||
struct Waterfall_Private_Access {
|
||||
static Waterfall_Private* data(Waterfall* waterfall) {
|
||||
return reinterpret_cast<Waterfall_Private*>(waterfall->d_ptr);
|
||||
return waterfall->d();
|
||||
}
|
||||
};
|
||||
} // namespace renderive
|
||||
|
||||
Reference in New Issue
Block a user