#include <css_value_padding_width.h>

+ Inheritance diagram for clan::CSSValuePaddingWidth:

Public Types

enum  Type { type_length, type_percentage, type_inherit }
 
enum  ValueType { left_value, top_value, right_value, bottom_value }
 

Public Member Functions

 CSSValuePaddingWidth ()
 
 CSSValuePaddingWidth (ValueType value_type, const CSSValuePaddingWidth &value)
 
void apply (CSSComputedValuesUpdater *updater)
 
void compute (const CSSValuePaddingWidth *parent, CSSResourceCache *layout, float em_size, float ex_size)
 
std::string to_string () const
 

Public Attributes

CSSLength length
 
float percentage
 
Type type
 
ValueType value_type
 

Member Enumeration Documentation

Enumerator
type_length 
type_percentage 
type_inherit 
Enumerator
left_value 
top_value 
right_value 
bottom_value 

Constructor & Destructor Documentation

clan::CSSValuePaddingWidth::CSSValuePaddingWidth ( )
clan::CSSValuePaddingWidth::CSSValuePaddingWidth ( ValueType  value_type,
const CSSValuePaddingWidth value 
)

Member Function Documentation

void clan::CSSValuePaddingWidth::apply ( CSSComputedValuesUpdater updater)
virtual
void clan::CSSValuePaddingWidth::compute ( const CSSValuePaddingWidth parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)
std::string clan::CSSValuePaddingWidth::to_string ( ) const
virtual

Member Data Documentation

CSSLength clan::CSSValuePaddingWidth::length
float clan::CSSValuePaddingWidth::percentage
Type clan::CSSValuePaddingWidth::type
ValueType clan::CSSValuePaddingWidth::value_type

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