#include <css_value_background_origin.h>

+ Inheritance diagram for clan::CSSValueBackgroundOrigin:

Public Types

enum  OriginType { origin_border_box, origin_padding_box, origin_content_box }
 
enum  Type { type_value, type_inherit }
 

Public Member Functions

 CSSValueBackgroundOrigin ()
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueBackgroundOrigin *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::CSSValueBackgroundOrigin::Type type
 
std::vector< OriginTypevalues
 

Member Enumeration Documentation

◆ OriginType

Enumerator
origin_border_box 
origin_padding_box 
origin_content_box 

◆ Type

Enumerator
type_value 
type_inherit 

Constructor & Destructor Documentation

◆ CSSValueBackgroundOrigin()

clan::CSSValueBackgroundOrigin::CSSValueBackgroundOrigin ( )

Member Function Documentation

◆ apply()

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

◆ clone()

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

◆ compute()

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

◆ get_name()

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

◆ to_string()

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

Member Data Documentation

◆ type

enum clan::CSSValueBackgroundOrigin::Type clan::CSSValueBackgroundOrigin::type

◆ values

std::vector<OriginType> clan::CSSValueBackgroundOrigin::values

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