// // MeasurementUnit.cs - indicates the unit of a Measurement // // Author: // Michael Becker // // Copyright (c) 2011-2020 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . namespace MBS.Framework.Drawing { /// /// Indicates the unit of a . /// public enum MeasurementUnit { Unspecified = 0, /// Measurement is in pixels. Pixel = 1, /// Measurement is in points. A point represents 1/72 of an inch. Point, /// Measurement is in picas. A pica represents 12 points. Pica, /// Measurement is in inches. Inch, /// Measurement is in millimeters. Mm, /// Measurement is in centimeters. Cm, /// Measurement is a percentage relative to the parent element. Percentage, /// Measurement is relative to the height of the parent element's font. Em, /// Measurement is relative to the height of the lowercase letter x of the parent element's font. Ex, Degrees, Radians, Gradians } }