#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GLCanvas3D.hpp>
◆ Size() [1/2]
| Slic3r::GUI::Size::Size |
( |
| ) |
|
|
default |
◆ Size() [2/2]
| Slic3r::GUI::Size::Size |
( |
int | width, |
|
|
int | height, |
|
|
float | scale_factor = 1.0f ) |
|
inline |
float m_scale_factor
Definition GLCanvas3D.hpp:113
int m_width
Definition GLCanvas3D.hpp:111
int m_height
Definition GLCanvas3D.hpp:112
References m_height, m_scale_factor, and m_width.
◆ get_height()
| int Slic3r::GUI::Size::get_height |
( |
| ) |
const |
|
inline |
References m_height.
Referenced by Slic3r::GUI::GLCanvas3D::_check_and_update_toolbar_icon_scale(), Slic3r::GUI::GLCanvas3D::_picking_pass(), Slic3r::GUI::GLCanvas3D::_rectangular_selection_picking_pass(), Slic3r::GUI::GLCanvas3D::_refresh_if_shown_on_screen(), Slic3r::GUI::GLCanvas3D::_render_assemble_view_toolbar(), Slic3r::GUI::GLCanvas3D::_render_collapse_toolbar(), Slic3r::GUI::GLCanvas3D::_render_frame(), Slic3r::GUI::GLCanvas3D::_render_imgui_select_plate_toolbar(), Slic3r::GUI::GLCanvas3D::_render_main_toolbar(), Slic3r::GUI::GLCanvas3D::_render_return_toolbar(), Slic3r::GUI::GLCanvas3D::_render_scene(), Slic3r::GUI::GLCanvas3D::_render_separator_toolbar_left(), Slic3r::GUI::GLCanvas3D::_render_separator_toolbar_right(), Slic3r::GUI::NotificationManager::PopNotification::bbl_render_block_notification(), Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step(), anonymous_namespace{GLGizmoEmboss.cpp}::calc_fine_position(), Slic3r::GUI::GLToolbar::contains_mouse_horizontal(), Slic3r::GUI::GLToolbar::contains_mouse_vertical(), Slic3r::GUI::GLGizmosManager::do_render_overlay(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_bar_rect_screen(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), Slic3r::GUI::GUI_App::post_init(), Slic3r::GUI::DailyTipsWindow::render(), Slic3r::GUI::GLCanvas3D::Tooltip::render(), Slic3r::GUI::GLSelectionRectangle::render(), Slic3r::GUI::NotificationManager::PopNotification::render(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_active_object_annotations(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLToolbar::render_horizontal(), Slic3r::GUI::GCodeViewer::render_legend(), Slic3r::GUI::GCodeViewer::render_overlay(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_profile(), Slic3r::GUI::Mouse3DController::render_settings_dialog(), Slic3r::GUI::GLToolbar::render_vertical(), Slic3r::GLVolume::render_with_outline(), Slic3r::GUI::Emboss::start_create_volume_without_position(), Slic3r::GUI::GLToolbar::update_hover_state_horizontal(), and Slic3r::GUI::GLToolbar::update_hover_state_vertical().
◆ get_scale_factor()
| float Slic3r::GUI::Size::get_scale_factor |
( |
| ) |
const |
|
inline |
◆ get_width()
| int Slic3r::GUI::Size::get_width |
( |
| ) |
const |
|
inline |
References m_width.
Referenced by Slic3r::GUI::GLCanvas3D::_check_and_update_toolbar_icon_scale(), Slic3r::GUI::GLCanvas3D::_picking_pass(), Slic3r::GUI::GLCanvas3D::_refresh_if_shown_on_screen(), Slic3r::GUI::GLCanvas3D::_render_assemble_view_toolbar(), Slic3r::GUI::GLCanvas3D::_render_collapse_toolbar(), Slic3r::GUI::GLCanvas3D::_render_frame(), Slic3r::GUI::GLCanvas3D::_render_imgui_select_plate_toolbar(), Slic3r::GUI::GLCanvas3D::_render_main_toolbar(), Slic3r::GUI::GLCanvas3D::_render_return_toolbar(), Slic3r::GUI::GLCanvas3D::_render_scene(), Slic3r::GUI::GLCanvas3D::_render_separator_toolbar_left(), Slic3r::GUI::GLCanvas3D::_render_separator_toolbar_right(), Slic3r::GUI::NotificationManager::PopNotification::bbl_render_block_notification(), Slic3r::GUI::MainFrame::GLResourcesPrebuild::build_step(), anonymous_namespace{GLGizmoEmboss.cpp}::calc_fine_position(), Slic3r::GUI::GLToolbar::contains_mouse_horizontal(), Slic3r::GUI::GLToolbar::contains_mouse_vertical(), Slic3r::GUI::GLGizmosManager::do_render_overlay(), Slic3r::GUI::GLCanvas3D::LayersEditing::get_bar_rect_screen(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::on_timer(), Slic3r::GUI::GUI_App::post_init(), Slic3r::GUI::DailyTipsWindow::render(), Slic3r::GUI::GLCanvas3D::Tooltip::render(), Slic3r::GUI::GLSelectionRectangle::render(), Slic3r::GUI::NotificationManager::PopNotification::render(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_active_object_annotations(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLToolbar::render_horizontal(), Slic3r::GUI::GCodeViewer::render_overlay(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_profile(), Slic3r::GUI::Mouse3DController::render_settings_dialog(), Slic3r::GUI::GCodeViewer::render_toolpaths(), Slic3r::GUI::GLCanvas3D::LayersEditing::render_variable_layer_height_dialog(), Slic3r::GUI::GLToolbar::render_vertical(), Slic3r::GLVolume::render_with_outline(), Slic3r::GUI::Emboss::start_create_volume_without_position(), Slic3r::GUI::GLToolbar::update_hover_state_horizontal(), and Slic3r::GUI::GLToolbar::update_hover_state_vertical().
◆ set_height()
| void Slic3r::GUI::Size::set_height |
( |
int | height | ) |
|
|
inline |
coord_t height(const BoundingBox &box)
Definition Arrange.cpp:1185
References m_height.
◆ set_scale_factor()
| void Slic3r::GUI::Size::set_scale_factor |
( |
float | factor | ) |
|
|
inline |
◆ set_width()
| void Slic3r::GUI::Size::set_width |
( |
int | width | ) |
|
|
inline |
coord_t width(const BoundingBox &box)
Definition Arrange.cpp:1184
References m_width.
◆ m_height
| int Slic3r::GUI::Size::m_height { 0 } |
|
private |
◆ m_scale_factor
| float Slic3r::GUI::Size::m_scale_factor { 1.0f } |
|
private |
◆ m_width
| int Slic3r::GUI::Size::m_width { 0 } |
|
private |
The documentation for this class was generated from the following file: