35 inline std::ostream& operator<<(std::ostream& os,
pen_alignment value) {
return os <<
to_string(value, {{
pen_alignment::center,
"center"}, {
pen_alignment::inset,
"inset"}, {
pen_alignment::outset,
"outset"}, {
pen_alignment::left,
"left"}, {
pen_alignment::right,
"right"}});}
36 inline std::wostream& operator<<(std::wostream& os,
pen_alignment value) {
return os <<
to_string(value, {{
pen_alignment::center, L
"center"}, {
pen_alignment::inset, L
"inset"}, {
pen_alignment::outset, L
"outset"}, {
pen_alignment::left, L
"left"}, {
pen_alignment::right, L
"right"}});}
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_alignment
SSpecifies the alignment of a xtd::drawing::pen object in relation to the theoretical,...
Definition pen_alignment.h:21
@ right
Specifies the xtd::drawing::pen is positioned to the right of the theoretical line.
@ outset
Specifies the xtd::drawing::pen is positioned on the outside of the theoretical line.
@ left
Specifies the xtd::drawing::pen is positioned to the left of the theoretical line.
@ inset
Specifies that the xtd::drawing::pen is positioned on the inside of the theoretical line.
@ center
Specifies that the xtd::drawing::pen object is centered over the theoretical line.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.