#include <cstddef>#include <limits>#include "libslic3r/Point.hpp"#include <memory>#include <optional>#include <string>#include <functional>#include <imgui/imgui.h>#include <vector>#include <wx/font.h>#include <glad/gl.h>#include <libslic3r/BoundingBox.hpp>#include <libslic3r/Emboss.hpp>#include <libslic3r/TextConfiguration.hpp>#include <libslic3r/EmbossShape.hpp>#include <libslic3r/AppConfig.hpp>Go to the source code of this file.
Classes | |
| class | Slic3r::GUI::Emboss::StyleManager |
| Manage Emboss text styles Cache actual state of style. More... | |
| struct | Slic3r::GUI::Emboss::StyleManager::StyleImage |
| Describe image in GPU to show settings of style. More... | |
| struct | Slic3r::GUI::Emboss::StyleManager::Style |
| All connected with one style keep temporary data and caches for style. More... | |
| struct | Slic3r::GUI::Emboss::StyleManager::StyleCache |
| Cache data from style to reduce amount of: 1) loading font from file 2) Create atlas of symbols for imgui 3) Keep loaded(and modified by style) glyphs from font. More... | |
| struct | Slic3r::GUI::Emboss::StyleManager::StyleImagesData |
| Keep data needed to create Font Style Images in Job. More... | |
| struct | Slic3r::GUI::Emboss::StyleManager::StyleImagesData::Item |
| struct | Slic3r::GUI::Emboss::StyleManager::StyleImagesData::StyleImages |
| Result of job. More... | |
Namespaces | |
| namespace | Slic3r |
| |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/ | |
| namespace | Slic3r::GUI |
| namespace | Slic3r::GUI::Emboss |
| struct Slic3r::GUI::Emboss::StyleManager::StyleImage |
Describe image in GPU to show settings of style.
| Class Members | ||
|---|---|---|
| BoundingBox | bounding_box | |
| Point | offset = Point(0, 0) | |
| ImVec2 | tex_size | |
| void * | texture_id = nullptr | |
| ImVec2 | uv0 | |
| ImVec2 | uv1 | |
| struct Slic3r::GUI::Emboss::StyleManager::StyleCache |
Cache data from style to reduce amount of: 1) loading font from file 2) Create atlas of symbols for imgui 3) Keep loaded(and modified by style) glyphs from font.
| Class Members | ||
|---|---|---|
| ImFontAtlas | atlas = {} | |
| FontFileWithCache | font_file = {} | |
| ImVector< ImWchar > | ranges = {} | |
| wxFont | stored_wx_font = {} | |
| Style | style = {} | |
| size_t | style_index = std::numeric_limits<size_t>::max() | |
| string | truncated_name | |
| wxFont | wx_font = {} | |
| struct Slic3r::GUI::Emboss::StyleManager::StyleImagesData |
| struct Slic3r::GUI::Emboss::StyleManager::StyleImagesData::Item |
| Class Members | ||
|---|---|---|
| FontFileWithCache | font | |
| FontProp | prop | |
| string | text | |
| struct Slic3r::GUI::Emboss::StyleManager::StyleImagesData::StyleImages |
Result of job.
| Class Members | ||
|---|---|---|
| vector< StyleImage > | images | |
| Items | styles | |