#include <css_length.h>

Public Types

enum  Type {
  type_mm, type_cm, type_in, type_pt,
  type_pc, type_px, type_em, type_ex,
  type_computed_px
}
 

Public Member Functions

 CSSLength ()
 
 CSSLength (float value, Type type)
 
std::string to_string () const
 

Public Attributes

Type type
 
float value
 

Member Enumeration Documentation

Enumerator
type_mm 
type_cm 
type_in 
type_pt 
type_pc 
type_px 
type_em 
type_ex 
type_computed_px 

Constructor & Destructor Documentation

clan::CSSLength::CSSLength ( )
inline
clan::CSSLength::CSSLength ( float  value,
Type  type 
)
inline

Member Function Documentation

std::string clan::CSSLength::to_string ( ) const
inline

Member Data Documentation

Type clan::CSSLength::type

Referenced by to_string().

float clan::CSSLength::value

Referenced by to_string().


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