#include <css_value_background_attachment.h>

+ Inheritance diagram for clan::CSSValueBackgroundAttachment:

Public Types

enum  Attachment { attachment_scroll, attachment_local, attachment_fixed }
 
enum  Type { type_attachments, type_inherit }
 

Public Member Functions

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

std::vector< Attachmentattachments
 
Type type
 

Member Enumeration Documentation

◆ Attachment

Enumerator
attachment_scroll 
attachment_local 
attachment_fixed 

◆ Type

Enumerator
type_attachments 
type_inherit 

Constructor & Destructor Documentation

◆ CSSValueBackgroundAttachment()

clan::CSSValueBackgroundAttachment::CSSValueBackgroundAttachment ( )

Member Function Documentation

◆ apply()

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

◆ clone()

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

◆ compute()

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

◆ get_name()

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

◆ to_string()

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

Member Data Documentation

◆ attachments

std::vector<Attachment> clan::CSSValueBackgroundAttachment::attachments

◆ type

Type clan::CSSValueBackgroundAttachment::type

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