#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GCodeViewer.hpp>
|
| void | render_marker (const bool has_render_path, int canvas_width, int canvas_height, const libvgcode::EViewType &view_type) |
| void | render_overlay (const bool has_render_path, float legend_height, const libvgcode::Viewer *viewer, uint32_t gcode_id, int canvas_width, int canvas_height, int right_margin, const libvgcode::EViewType &view_type) |
◆ render_marker()
| void Slic3r::GUI::GCodeViewer::SequentialView::render_marker |
( |
const bool | has_render_path, |
|
|
int | canvas_width, |
|
|
int | canvas_height, |
|
|
const libvgcode::EViewType & | view_type ) |
1116{
1118
1119 marker.render(canvas_width, canvas_height, view_type);
1120
1122 sec.render(canvas_width, canvas_height, view_type);
1123 }
1124}
Marker marker
Definition GCodeViewer.hpp:173
bool m_show_marker
Definition GCodeViewer.hpp:177
std::vector< Marker > m_imex_secondary_markers
Definition GCodeViewer.hpp:174
References m_imex_secondary_markers, m_show_marker, and marker.
◆ render_overlay()
| void Slic3r::GUI::GCodeViewer::SequentialView::render_overlay |
( |
const bool | has_render_path, |
|
|
float | legend_height, |
|
|
const libvgcode::Viewer * | viewer, |
|
|
uint32_t | gcode_id, |
|
|
int | canvas_width, |
|
|
int | canvas_height, |
|
|
int | right_margin, |
|
|
const libvgcode::EViewType & | view_type ) |
1127{
1129 marker.render_position_window(viewer, canvas_width, canvas_height, view_type);
1130
1131
1132
1133#if 0
1134 if (wxGetApp().is_editor())
1135 bottom -= wxGetApp().plater()->get_view_toolbar().get_height();
1136#endif
1137 if (has_render_path)
1138 gcode_window.render(legend_height + 2, std::max(10.f, (
float)canvas_height - 40), (
float)canvas_width - (
float)right_margin, gcode_id);
1139}
GCodeWindow gcode_window
Definition GCodeViewer.hpp:175
References gcode_window, m_show_marker, and marker.
◆ gcode_window
| GCodeWindow Slic3r::GUI::GCodeViewer::SequentialView::gcode_window |
◆ m_imex_secondary_markers
| std::vector<Marker> Slic3r::GUI::GCodeViewer::SequentialView::m_imex_secondary_markers |
◆ m_scale
| float Slic3r::GUI::GCodeViewer::SequentialView::m_scale = 1.0 |
◆ m_show_marker
| bool Slic3r::GUI::GCodeViewer::SequentialView::m_show_marker = false |
◆ marker
| Marker Slic3r::GUI::GCodeViewer::SequentialView::marker |
The documentation for this struct was generated from the following files: