#include <css_value_background_size.h>

+ Inheritance diagram for clan::CSSValueBackgroundSize:

Classes

class  Size
 

Public Types

enum  SizeType { size_contain, size_cover, size_values }
 
enum  Type { type_value, type_inherit }
 
enum  ValueType { value_type_auto, value_type_length, value_type_percentage }
 

Public Member Functions

 CSSValueBackgroundSize ()
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueBackgroundSize *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

enum clan::CSSValueBackgroundSize::Type type
 
std::vector< Sizevalues
 

Member Enumeration Documentation

◆ SizeType

Enumerator
size_contain 
size_cover 
size_values 

◆ Type

Enumerator
type_value 
type_inherit 

◆ ValueType

Enumerator
value_type_auto 
value_type_length 
value_type_percentage 

Constructor & Destructor Documentation

◆ CSSValueBackgroundSize()

clan::CSSValueBackgroundSize::CSSValueBackgroundSize ( )

Member Function Documentation

◆ apply()

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

◆ clone()

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

◆ compute()

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

◆ get_name()

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

◆ to_string()

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

Member Data Documentation

◆ type

enum clan::CSSValueBackgroundSize::Type clan::CSSValueBackgroundSize::type

◆ values

std::vector<Size> clan::CSSValueBackgroundSize::values

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