kformula/flake

Length Class Reference

#include <AttributeManager.h>

List of all members.

Public Types

enum  Unit {
  Em, Ex, Px, In,
  Cm, Mm, Pt, Pc,
  Percentage, None
}
enum  UnitType { NoType, Relative, Absolute, Pixel }

Public Member Functions

 Length ()

Public Attributes

UnitType type
Unit unit
qreal value

Detailed Description

Definition at line 41 of file AttributeManager.h.


Member Enumeration Documentation

Enumerator:
Em 

ems (font-relative unit traditionally used for horizontal lengths)

Ex 

exs (font-relative unit traditionally used for vertical lengths)

Px 

pixels, or pixel size of a "typical computer display"

In 

inches (1 inch = 2.54 centimeters)

Cm 

centimeters

Mm 

millimeters

Pt 

points (1 point = 1/72 inch)

Pc 

picas (1 pica = 12 points)

Percentage 

percentage of default value

None 

For when no unit has been specified.

Definition at line 43 of file AttributeManager.h.

Enumerator:
NoType 
Relative 
Absolute 
Pixel 

Definition at line 56 of file AttributeManager.h.


Constructor & Destructor Documentation

Length::Length (  )  [inline]

Definition at line 63 of file AttributeManager.h.


Member Data Documentation

Definition at line 66 of file AttributeManager.h.

Definition at line 65 of file AttributeManager.h.

Definition at line 63 of file AttributeManager.h.


The documentation for this class was generated from the following file: