OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::SVG::ExPolygonAttributes Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SVG.hpp>

Collaboration diagram for Slic3r::SVG::ExPolygonAttributes:

Public Member Functions

 ExPolygonAttributes ()
 ExPolygonAttributes (const std::string &color)
 ExPolygonAttributes (const std::string &color_fill, const std::string &color_contour, const std::string &color_holes, const coord_t outline_width=scale_(0.05), const float fill_opacity=0.5f, const std::string &color_points="black", const coord_t radius_points=0)
 ExPolygonAttributes (const std::string &legend, const std::string &color_fill, const std::string &color_contour, const std::string &color_holes, const coord_t outline_width=scale_(0.05), const float fill_opacity=0.5f, const std::string &color_points="black", const coord_t radius_points=0)
 ExPolygonAttributes (const std::string &legend, const std::string &color_fill, const float fill_opacity)

Public Attributes

std::string legend
std::string color_fill
std::string color_contour
std::string color_holes
std::string color_points
coord_t outline_width { 0 }
float fill_opacity
coord_t radius_points { 0 }

Detailed Description

Constructor & Destructor Documentation

◆ ExPolygonAttributes() [1/5]

Slic3r::SVG::ExPolygonAttributes::ExPolygonAttributes ( )
inline
112: ExPolygonAttributes("gray", "black", "blue") {}
ExPolygonAttributes()
Definition SVG.hpp:112

References ExPolygonAttributes().

Referenced by ExPolygonAttributes(), and ExPolygonAttributes().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExPolygonAttributes() [2/5]

Slic3r::SVG::ExPolygonAttributes::ExPolygonAttributes ( const std::string & color)
inline
113 :
114 ExPolygonAttributes(color, color, color) {}

References ExPolygonAttributes().

Here is the call graph for this function:

◆ ExPolygonAttributes() [3/5]

Slic3r::SVG::ExPolygonAttributes::ExPolygonAttributes ( const std::string & color_fill,
const std::string & color_contour,
const std::string & color_holes,
const coord_t outline_width = scale_(0.05),
const float fill_opacity = 0.5f,
const std::string & color_points = "black",
const coord_t radius_points = 0 )
inline
123 :
131 {}
float fill_opacity
Definition SVG.hpp:167
coord_t radius_points
Definition SVG.hpp:168
coord_t outline_width
Definition SVG.hpp:166
std::string color_points
Definition SVG.hpp:165
std::string color_contour
Definition SVG.hpp:163
std::string color_fill
Definition SVG.hpp:162
std::string color_holes
Definition SVG.hpp:164

References color_contour, color_fill, color_holes, color_points, fill_opacity, outline_width, and radius_points.

◆ ExPolygonAttributes() [4/5]

Slic3r::SVG::ExPolygonAttributes::ExPolygonAttributes ( const std::string & legend,
const std::string & color_fill,
const std::string & color_contour,
const std::string & color_holes,
const coord_t outline_width = scale_(0.05),
const float fill_opacity = 0.5f,
const std::string & color_points = "black",
const coord_t radius_points = 0 )
inline

◆ ExPolygonAttributes() [5/5]

Slic3r::SVG::ExPolygonAttributes::ExPolygonAttributes ( const std::string & legend,
const std::string & color_fill,
const float fill_opacity )
inline
155 :
156 legend (legend),
159 {}

References color_fill, fill_opacity, and legend.

Member Data Documentation

◆ color_contour

std::string Slic3r::SVG::ExPolygonAttributes::color_contour

◆ color_fill

std::string Slic3r::SVG::ExPolygonAttributes::color_fill

◆ color_holes

std::string Slic3r::SVG::ExPolygonAttributes::color_holes

◆ color_points

std::string Slic3r::SVG::ExPolygonAttributes::color_points

◆ fill_opacity

float Slic3r::SVG::ExPolygonAttributes::fill_opacity

◆ legend

std::string Slic3r::SVG::ExPolygonAttributes::legend

◆ outline_width

coord_t Slic3r::SVG::ExPolygonAttributes::outline_width { 0 }
166{ 0 };

Referenced by ExPolygonAttributes(), and ExPolygonAttributes().

◆ radius_points

coord_t Slic3r::SVG::ExPolygonAttributes::radius_points { 0 }
168{ 0 };

Referenced by ExPolygonAttributes(), and ExPolygonAttributes().


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SVG.hpp