Libcroco
Data Fields
_CRStyle Struct Reference

The css2 style class. More...

#include <cr-style.h>

Data Fields

CRNumPropVal num_props [NB_NUM_PROPS]
 numerical properties. More...
 
CRRgbPropVal rgb_props [NB_RGB_PROPS]
 color properties. More...
 
enum CRBorderStyle border_style_props [NB_BORDER_STYLE_PROPS]
 border style properties. More...
 
enum CRDisplayType display
 box display type More...
 
enum CRPositionType position
 the positioning scheme More...
 
enum CRFloatType float_type
 the float property More...
 
CRFontFamilyfont_family
 
CRFontSizeVal font_size
 the 'font-size' property. More...
 
CRFontSizeAdjustfont_size_adjust
 
enum CRFontStyle font_style
 
enum CRFontVariant font_variant
 
enum CRFontWeight font_weight
 
enum CRFontStretch font_stretch
 
enum CRWhiteSpaceType white_space
 the 'tex' properties More...
 
gboolean inherited_props_resolved
 
CRStyleparent_style
 
gulong ref_count
 

Detailed Description

The css2 style class.

Contains computed and actual values inferred from the declarations found in the stylesheets. See css2 spec chapter 6.

Definition at line 230 of file cr-style.h.

Field Documentation

◆ border_style_props

enum CRBorderStyle _CRStyle::border_style_props[NB_BORDER_STYLE_PROPS]

border style properties.

They are indexed by enum CRBorderStyleProp .

Definition at line 249 of file cr-style.h.

◆ display

enum CRDisplayType _CRStyle::display

box display type

Definition at line 252 of file cr-style.h.

◆ float_type

enum CRFloatType _CRStyle::float_type

the float property

Definition at line 258 of file cr-style.h.

◆ font_family

CRFontFamily* _CRStyle::font_family

Definition at line 263 of file cr-style.h.

◆ font_size

CRFontSizeVal _CRStyle::font_size

the 'font-size' property.

Definition at line 268 of file cr-style.h.

◆ font_size_adjust

CRFontSizeAdjust* _CRStyle::font_size_adjust

Definition at line 269 of file cr-style.h.

◆ font_stretch

enum CRFontStretch _CRStyle::font_stretch

Definition at line 273 of file cr-style.h.

◆ font_style

enum CRFontStyle _CRStyle::font_style

Definition at line 270 of file cr-style.h.

◆ font_variant

enum CRFontVariant _CRStyle::font_variant

Definition at line 271 of file cr-style.h.

◆ font_weight

enum CRFontWeight _CRStyle::font_weight

Definition at line 272 of file cr-style.h.

◆ inherited_props_resolved

gboolean _CRStyle::inherited_props_resolved

Definition at line 280 of file cr-style.h.

◆ num_props

CRNumPropVal _CRStyle::num_props[NB_NUM_PROPS]

numerical properties.

the properties are indexed by enum CRNumProp.

Definition at line 237 of file cr-style.h.

◆ parent_style

CRStyle* _CRStyle::parent_style

Definition at line 281 of file cr-style.h.

◆ position

enum CRPositionType _CRStyle::position

the positioning scheme

Definition at line 255 of file cr-style.h.

◆ ref_count

gulong _CRStyle::ref_count

Definition at line 282 of file cr-style.h.

◆ rgb_props

CRRgbPropVal _CRStyle::rgb_props[NB_RGB_PROPS]

color properties.

They are indexed by enum CRRgbProp .

Definition at line 243 of file cr-style.h.

◆ white_space

enum CRWhiteSpaceType _CRStyle::white_space

the 'tex' properties

Definition at line 278 of file cr-style.h.


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