34 inline std::ostream& operator<<(std::ostream& os,
pen_type value) {
return os <<
to_string(value, {{
pen_type::solid_color,
"solid_color"}, {
pen_type::hatch_fill,
"hatch_fill"}, {
pen_type::texture_fill,
"texture_fill"}, {
pen_type::path_gradient,
"path_gradient"}, {
pen_type::linear_gradient,
"linear_gradient"}});}
35 inline std::wostream& operator<<(std::wostream& os,
pen_type value) {
return os <<
to_string(value, {{
pen_type::solid_color, L
"solid_color"}, {
pen_type::hatch_fill, L
"hatch_fill"}, {
pen_type::texture_fill, L
"texture_fill"}, {
pen_type::path_gradient, L
"path_gradient"}, {
pen_type::linear_gradient, L
"linear_gradient"}});}
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:37
pen_type
Specifies the type of fill a xtd::drawing::pen object uses to fill lines.
Definition pen_type.h:20
@ hatch_fill
Specifies a hatch fill.
@ linear_gradient
Specifies a linear gradient fill.
@ solid_color
Specifies a solid fill.
@ texture_fill
Specifies a bitmap texture fill.
@ path_gradient
Specifies a path gradient fill.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.