38 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::graphics_unit> {{
xtd::drawing::graphics_unit::world,
"world"}, {
xtd::drawing::graphics_unit::display,
"display"}, {
xtd::drawing::graphics_unit::pixel,
"pixel"}, {
xtd::drawing::graphics_unit::point,
"point"}, {
xtd::drawing::graphics_unit::inch,
"inch"}, {
xtd::drawing::graphics_unit::document,
"document"}, {
xtd::drawing::graphics_unit::millimeter,
"millimeter"}};}
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.h:54
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
graphics_unit
Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows ...
Definition graphics_unit.h:17
@ millimeter
Specifies the millimeter as the unit of measure.
@ point
Specifies a printer's point (1/72 inch) as the unit of measure.
@ inch
Specifies the inch as the unit of measure.
@ world
Specifies the world coordinate system unit as the unit of measure.
@ pixel
Specifies a device pixel as the unit of measure.
@ display
Specifies 1/75 inch as the unit of measure.
@ document
Specifies the document unit (1/300 inch) as the unit of measure.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38