#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) |
| std::unique_ptr< CSSPropertyValue > | clone () const |
| void | compute (const CSSValuePaddingWidth *parent, CSSResourceCache *layout, float em_size, float ex_size) |
| std::string | get_name () const |
| std::string | to_string () const |
Public Member Functions inherited from clan::CSSPropertyValue | |
| virtual | ~CSSPropertyValue () |
Public Attributes | |
| CSSLength | length |
| float | percentage |
| Type | type |
| ValueType | value_type |
| clan::CSSValuePaddingWidth::CSSValuePaddingWidth | ( | ) |
| clan::CSSValuePaddingWidth::CSSValuePaddingWidth | ( | ValueType | value_type, |
| const CSSValuePaddingWidth & | value | ||
| ) |
|
virtual |
Implements clan::CSSPropertyValue.
|
virtual |
Implements clan::CSSPropertyValue.
| void clan::CSSValuePaddingWidth::compute | ( | const CSSValuePaddingWidth * | parent, |
| CSSResourceCache * | layout, | ||
| float | em_size, | ||
| float | ex_size | ||
| ) |
|
virtual |
Implements clan::CSSPropertyValue.
|
virtual |
Implements clan::CSSPropertyValue.
| CSSLength clan::CSSValuePaddingWidth::length |
| float clan::CSSValuePaddingWidth::percentage |
| Type clan::CSSValuePaddingWidth::type |
| ValueType clan::CSSValuePaddingWidth::value_type |