#include <css_value_border_width.h>

+ Inheritance diagram for clan::CSSValueBorderWidth:

Public Types

enum  Type {
  type_thin, type_medium, type_thick, type_length,
  type_inherit
}
 
enum  ValueType { left_value, top_value, right_value, bottom_value }
 

Public Member Functions

 CSSValueBorderWidth ()
 
 CSSValueBorderWidth (ValueType value_type, const CSSValueBorderWidth &value)
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueBorderWidth *parent, CSSResourceCache *layout, float em_size, float ex_size, const CSSValueBorderStyle &style)
 
std::string get_name () const
 
std::string to_string () const
 
- Public Member Functions inherited from clan::CSSPropertyValue
virtual ~CSSPropertyValue ()
 

Public Attributes

CSSLength length
 
enum
clan::CSSValueBorderWidth::Type 
type
 
ValueType value_type
 

Member Enumeration Documentation

Enumerator
type_thin 
type_medium 
type_thick 
type_length 
type_inherit 
Enumerator
left_value 
top_value 
right_value 
bottom_value 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

CSSLength clan::CSSValueBorderWidth::length
enum clan::CSSValueBorderWidth::Type clan::CSSValueBorderWidth::type
ValueType clan::CSSValueBorderWidth::value_type

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