#include <css_value_font_size.h>

+ Inheritance diagram for clan::CSSValueFontSize:

Public Types

enum  Type {
  type_xx_small, type_x_small, type_small, type_medium,
  type_large, type_x_large, type_xx_large, type_larger,
  type_smaller, type_length, type_percentage, type_inherit
}
 

Public Member Functions

 CSSValueFontSize ()
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueFontSize *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 length
 
float percentage
 
Type type
 

Member Enumeration Documentation

Enumerator
type_xx_small 
type_x_small 
type_small 
type_medium 
type_large 
type_x_large 
type_xx_large 
type_larger 
type_smaller 
type_length 
type_percentage 
type_inherit 

Constructor & Destructor Documentation

clan::CSSValueFontSize::CSSValueFontSize ( )

Member Function Documentation

void clan::CSSValueFontSize::apply ( CSSComputedValuesUpdater updater)
virtual
std::unique_ptr<CSSPropertyValue> clan::CSSValueFontSize::clone ( ) const
virtual
void clan::CSSValueFontSize::compute ( const CSSValueFontSize parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)
std::string clan::CSSValueFontSize::get_name ( ) const
virtual
std::string clan::CSSValueFontSize::to_string ( ) const
virtual

Member Data Documentation

CSSLength clan::CSSValueFontSize::length
float clan::CSSValueFontSize::percentage
Type clan::CSSValueFontSize::type

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