#include <Wt/WLength>
Public Types | |
| enum | Unit { FontEm, FontEx, Pixel, Inch, Centimeter, Millimeter, Point, Pica, Percentage } |
| The unit. More... | |
Public Member Functions | |
| WLength () | |
| Automatic length. | |
| WLength (double value, Unit unit=Pixel) | |
| Length with value and unit. | |
| bool | isAuto () const |
| Length is unspecified, hence automatic ? | |
| double | value () const |
| Get te value. | |
| Unit | unit () const |
| Get te unit. | |
| enum Wt::WLength::Unit |
| Wt::WLength::WLength | ( | ) |
Automatic length.
Specifies an 'auto' length.
1.5.3