34     inline std::ostream& operator<<(std::ostream& os, 
dash_style value) {
return os << 
xtd::to_string(value, {{
dash_style::solid, 
"solid"}, {
dash_style::dash, 
"dash"}, {
dash_style::dot, 
"dot"}, {
dash_style::dash_dot, 
"dash_dot"}, {
dash_style::dash_dot_dot, 
"dash_dot_dot"}});}
 
   35     inline std::wostream& operator<<(std::wostream& os, 
dash_style value) {
return os << 
xtd::to_string(value, {{
dash_style::solid, L
"solid"}, {
dash_style::dash, L
"dash"}, {
dash_style::dot, L
"dot"}, {
dash_style::dash_dot, L
"dash_dot"}, {
dash_style::dash_dot_dot, L
"dash_dot_dot"}});}
 
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
 
dash_style
Specifies the style of dashed lines drawn with a xtd::drawing::pen object.
Definition: dash_style.h:18
 
@ dash_dot
Specifies a line consisting of a repeating pattern of dash-dot.
 
@ dot
Specifies a line consisting of dots.
 
@ custom
Specifies a user-defined custom dash style.
 
@ dash
Specifies a line consisting of dashes.
 
@ dash_dot_dot
Specifies a line consisting of a repeating pattern of dash-dot-dot.
 
@ solid
Specifies a solid line.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
 
Contains xtd::ustring class.