24 lines
626 B
C++
24 lines
626 B
C++
#include "Explicit_Plot_p.h"
|
|
|
|
namespace renderive {
|
|
|
|
Explicit_Plot_Private::Explicit_Plot_Private()
|
|
: Abs_Plot_Private(std::make_unique<Explicit_Frame_Flow>()) {
|
|
explicit_flow = static_cast<Explicit_Frame_Flow*>(flow);
|
|
}
|
|
|
|
Explicit_Plot::Explicit_Plot()
|
|
: Abs_Plot(new Explicit_Plot_Private()) {}
|
|
|
|
Render_Ticket Explicit_Plot::replot() {
|
|
auto* data = static_cast<Explicit_Plot_Private*>(d);
|
|
if (data->explicit_flow) {
|
|
Render_Ticket ticket = data->explicit_flow->request_render();
|
|
data->core->request_explicit_render();
|
|
return ticket;
|
|
}
|
|
return {};
|
|
}
|
|
|
|
} // namespace renderive
|