#include <css_value_background_position.h>

+ Inheritance diagram for clan::CSSValueBackgroundPosition:

Classes

class  Position
 

Public Types

enum  Type { type_value, type_inherit }
 
enum  Type1 {
  type1_left, type1_center, type1_right, type1_percentage,
  type1_length
}
 
enum  Type2 {
  type2_top, type2_center, type2_bottom, type2_percentage,
  type2_length
}
 

Public Member Functions

 CSSValueBackgroundPosition ()
 
void apply (CSSComputedValuesUpdater *updater)
 
void compute (const CSSValueBackgroundPosition *parent, CSSResourceCache *layout, float em_size, float ex_size)
 
std::string to_string () const
 

Public Attributes

std::vector< Positionpositions
 
enum
clan::CSSValueBackgroundPosition::Type 
type
 

Member Enumeration Documentation

Enumerator
type_value 
type_inherit 
Enumerator
type1_left 
type1_center 
type1_right 
type1_percentage 
type1_length 
Enumerator
type2_top 
type2_center 
type2_bottom 
type2_percentage 
type2_length 

Constructor & Destructor Documentation

clan::CSSValueBackgroundPosition::CSSValueBackgroundPosition ( )

Member Function Documentation

void clan::CSSValueBackgroundPosition::apply ( CSSComputedValuesUpdater updater)
virtual
void clan::CSSValueBackgroundPosition::compute ( const CSSValueBackgroundPosition parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)
std::string clan::CSSValueBackgroundPosition::to_string ( ) const
virtual

Member Data Documentation

std::vector<Position> clan::CSSValueBackgroundPosition::positions
enum clan::CSSValueBackgroundPosition::Type clan::CSSValueBackgroundPosition::type

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