xtd - Reference Guide 0.2.0
graphics_unit.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum.h>
6 
8 namespace xtd {
10  namespace drawing {
17  enum class graphics_unit {
19  world = 0,
21  display = 1,
23  pixel = 2,
25  point = 3,
27  inch = 4,
29  document = 5,
31  millimeter = 6
32  };
33  }
34 }
35 
37 template<> struct xtd::enum_register<xtd::drawing::graphics_unit> {
39 };
Specifies the millimeter as the unit of measure.
Specifies the inch as the unit of measure.
Specifies the document unit (1/300 inch) as the unit of measure.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:12
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:53
Specifies a device pixel as the unit of measure.
Specifies the world coordinate system unit as the unit of measure.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::enum_object.
Specifies a printer&#39;s point (1/72 inch) as the unit of measure.
graphics_unit
Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows ...
Definition: graphics_unit.h:17
Specifies 1/75 inch as the unit of measure.
Provides the registration struct for enumerations.
Definition: enum_register.h:30