#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

◆ Type

Enumerator
type_thin 
type_medium 
type_thick 
type_length 
type_inherit 

◆ ValueType

Enumerator
left_value 
top_value 
right_value 
bottom_value 

Constructor & Destructor Documentation

◆ CSSValueBorderWidth() [1/2]

clan::CSSValueBorderWidth::CSSValueBorderWidth ( )

◆ CSSValueBorderWidth() [2/2]

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

Member Function Documentation

◆ apply()

void clan::CSSValueBorderWidth::apply ( CSSComputedValuesUpdater updater)
virtual

◆ clone()

std::unique_ptr<CSSPropertyValue> clan::CSSValueBorderWidth::clone ( ) const
virtual

◆ compute()

void clan::CSSValueBorderWidth::compute ( const CSSValueBorderWidth parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size,
const CSSValueBorderStyle style 
)

◆ get_name()

std::string clan::CSSValueBorderWidth::get_name ( ) const
virtual

◆ to_string()

std::string clan::CSSValueBorderWidth::to_string ( ) const
virtual

Member Data Documentation

◆ length

CSSLength clan::CSSValueBorderWidth::length

◆ type

enum clan::CSSValueBorderWidth::Type clan::CSSValueBorderWidth::type

◆ value_type

ValueType clan::CSSValueBorderWidth::value_type

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