#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

◆ LengthType

Enumerator
value_type_length 
value_type_percentage 

◆ Type

Enumerator
type_one_value 
type_two_values 
type_inherit 

◆ ValueType

Enumerator
top_left_value 
top_right_value 
bottom_left_value 
bottom_right_value 

Constructor & Destructor Documentation

◆ CSSValueBorderRadius() [1/2]

clan::CSSValueBorderRadius::CSSValueBorderRadius ( )

◆ CSSValueBorderRadius() [2/2]

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

Member Function Documentation

◆ apply()

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

◆ clone()

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

◆ compute()

void clan::CSSValueBorderRadius::compute ( const CSSValueBorderRadius parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)

◆ get_name()

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

◆ to_string()

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

Member Data Documentation

◆ length1

CSSLength clan::CSSValueBorderRadius::length1

◆ length2

CSSLength clan::CSSValueBorderRadius::length2

◆ percentage1

float clan::CSSValueBorderRadius::percentage1

◆ percentage2

float clan::CSSValueBorderRadius::percentage2

◆ type

Type clan::CSSValueBorderRadius::type

◆ value_type

ValueType clan::CSSValueBorderRadius::value_type

◆ value_type1

LengthType clan::CSSValueBorderRadius::value_type1

◆ value_type2

LengthType clan::CSSValueBorderRadius::value_type2

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