Classes | Public Types | Public Member Functions | Public Attributes

nsStyleBackground::Size Struct Reference

#include <nsStyleStruct.h>

Collaboration diagram for nsStyleBackground::Size:

List of all members.

Classes

union  Dimension

Public Types

enum  DimensionType {
  eContain, eCover, ePercentage, eAuto,
  eLength, eDimensionType_COUNT
}

Public Member Functions

PRBool DependsOnFrameSize (nsStyleImageType aType) const
 Size ()
void SetInitialValues ()
PRBool operator== (const Size &aOther) const
PRBool operator!= (const Size &aOther) const

Public Attributes

Dimension mWidth
Dimension mHeight
PRUint8 mWidthType
PRUint8 mHeightType

Member Enumeration Documentation

Enumerator:
eContain 
eCover 
ePercentage 
eAuto 
eLength 
eDimensionType_COUNT 

Constructor & Destructor Documentation

nsStyleBackground::Size::Size (  )  [inline]

Member Function Documentation

PRBool nsStyleBackground::Size::DependsOnFrameSize ( nsStyleImageType  aType  )  const [inline]
PRBool nsStyleBackground::Size::operator!= ( const Size aOther  )  const [inline]
PRBool nsStyleBackground::Size::operator== ( const Size aOther  )  const
void nsStyleBackground::Size::SetInitialValues (  ) 

Member Data Documentation


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