xtd 0.2.0
Loading...
Searching...
No Matches
graphics_unit.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
39};
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp: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.hpp:22
graphics_unit
Specifies the unit of measure for the given data. This enumeration has a flags attribute that allows ...
Definition graphics_unit.hpp: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.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38