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

#include <css_box_background_position.h>

Inheritance diagram for CL_CSSBoxBackgroundPosition:
Inheritance graph
[legend]

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

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

Public Attributes

std::vector< Positionpositions
 
enum
CL_CSSBoxBackgroundPosition::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

CL_CSSBoxBackgroundPosition::CL_CSSBoxBackgroundPosition ( )

Member Function Documentation

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

Implements CL_CSSBoxProperty.

Member Data Documentation

std::vector<Position> CL_CSSBoxBackgroundPosition::positions
enum CL_CSSBoxBackgroundPosition::Type CL_CSSBoxBackgroundPosition::type

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