ClanLib  2.3.7
Public Types | Public Member Functions | Public Attributes | List of all members
CL_CSSBoxFontSize Class Reference

#include <css_box_font_size.h>

Inheritance diagram for CL_CSSBoxFontSize:
Inheritance graph
[legend]

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

 CL_CSSBoxFontSize ()
 
void compute (const CL_CSSBoxFontSize *parent, CL_CSSResourceCache *layout, float em_size, float ex_size)
 
CL_String to_string () const
 

Public Attributes

CL_CSSBoxLength 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

CL_CSSBoxFontSize::CL_CSSBoxFontSize ( )

Member Function Documentation

void CL_CSSBoxFontSize::compute ( const CL_CSSBoxFontSize parent,
CL_CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)
CL_String CL_CSSBoxFontSize::to_string ( ) const
virtual

Implements CL_CSSBoxProperty.

Member Data Documentation

CL_CSSBoxLength CL_CSSBoxFontSize::length
float CL_CSSBoxFontSize::percentage
Type CL_CSSBoxFontSize::type

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