Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::TextConfiguration Struct Reference

Define how to create 'Text volume' It is stored into .3mf by TextConfigurationSerialization It is part of ModelVolume optional data. More...

#include <src/libslic3r/TextConfiguration.hpp>

+ Collaboration diagram for Slic3r::TextConfiguration:

Public Member Functions

template<class Archive >
void save (Archive &ar) const
 
template<class Archive >
void load (Archive &ar)
 

Public Attributes

EmbossStyle style
 
std::string text = "None"
 
std::optional< Transform3dfix_3mf_tr
 

Detailed Description

Define how to create 'Text volume' It is stored into .3mf by TextConfigurationSerialization It is part of ModelVolume optional data.

Member Function Documentation

◆ load()

template<class Archive >
void Slic3r::TextConfiguration::load ( Archive &  ar)
inline
233 {
234 ar(text, style);
236 }
void load(Archive &archive, Slic3r::DynamicPrintConfig &config)
Definition PrintConfig.hpp:1307
EmbossStyle style
Definition TextConfiguration.hpp:217
std::string text
Definition TextConfiguration.hpp:220
std::optional< Transform3d > fix_3mf_tr
Definition TextConfiguration.hpp:226

References fix_3mf_tr, cereal::load(), style, and text.

+ Here is the call graph for this function:

◆ save()

template<class Archive >
void Slic3r::TextConfiguration::save ( Archive &  ar) const
inline
229 {
230 ar(text, style);
232 }
void save(Archive &archive, const Slic3r::DynamicPrintConfig &config)
Definition PrintConfig.hpp:1322

References fix_3mf_tr, cereal::save(), style, and text.

+ Here is the call graph for this function:

Member Data Documentation

◆ fix_3mf_tr

◆ style

◆ text

std::string Slic3r::TextConfiguration::text = "None"

The documentation for this struct was generated from the following file: