#include <css_value_margin_width.h>

+ Inheritance diagram for clan::CSSValueMarginWidth:

Public Types

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

Public Member Functions

 CSSValueMarginWidth ()
 
 CSSValueMarginWidth (ValueType value_type, const CSSValueMarginWidth &value)
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueMarginWidth *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
 

Member Enumeration Documentation

Enumerator
type_length 
type_percentage 
type_auto 
type_inherit 
Enumerator
left_value 
top_value 
right_value 
bottom_value 

Constructor & Destructor Documentation

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

Member Function Documentation

void clan::CSSValueMarginWidth::apply ( CSSComputedValuesUpdater updater)
virtual
std::unique_ptr<CSSPropertyValue> clan::CSSValueMarginWidth::clone ( ) const
virtual
void clan::CSSValueMarginWidth::compute ( const CSSValueMarginWidth parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)
std::string clan::CSSValueMarginWidth::get_name ( ) const
virtual
std::string clan::CSSValueMarginWidth::to_string ( ) const
virtual

Member Data Documentation

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

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