#include <css_value_border_radius.h>

+ Inheritance diagram for clan::CSSValueBorderRadius:

Public Types

enum  LengthType { value_type_length, value_type_percentage }
 
enum  Type { type_one_value, type_two_values, type_inherit }
 
enum  ValueType { top_left_value, top_right_value, bottom_left_value, bottom_right_value }
 

Public Member Functions

 CSSValueBorderRadius ()
 
 CSSValueBorderRadius (ValueType value_type, const CSSValueBorderRadius &value)
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueBorderRadius *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 length1
 
CSSLength length2
 
float percentage1
 
float percentage2
 
Type type
 
ValueType value_type
 
LengthType value_type1
 
LengthType value_type2
 

Member Enumeration Documentation

Enumerator
value_type_length 
value_type_percentage 
Enumerator
type_one_value 
type_two_values 
type_inherit 
Enumerator
top_left_value 
top_right_value 
bottom_left_value 
bottom_right_value 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

CSSLength clan::CSSValueBorderRadius::length1
CSSLength clan::CSSValueBorderRadius::length2
float clan::CSSValueBorderRadius::percentage1
float clan::CSSValueBorderRadius::percentage2
Type clan::CSSValueBorderRadius::type
ValueType clan::CSSValueBorderRadius::value_type
LengthType clan::CSSValueBorderRadius::value_type1
LengthType clan::CSSValueBorderRadius::value_type2

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