nsStyleCoord Class Reference
Class that hold a single size specification used by the style system.
More...
#include <nsStyleCoord.h>
List of all members.
Detailed Description
Class that hold a single size specification used by the style system.
The size specification consists of two parts -- a number and a unit. The number is an integer, a floating point value, an nscoord, or undefined, and the unit is an nsStyleUnit. Checking the unit is a must before asking for the value in any particular form.
Member Enumeration Documentation
Constructor & Destructor Documentation
| nsStyleCoord::nsStyleCoord |
( |
nsStyleUnit |
aUnit = eStyleUnit_Null |
) |
|
| nsStyleCoord::nsStyleCoord |
( |
PRInt32 |
aValue, |
|
|
nsStyleUnit |
aUnit | |
|
) |
| | |
| nsStyleCoord::nsStyleCoord |
( |
float |
aValue, |
|
|
nsStyleUnit |
aUnit | |
|
) |
| | |
| nsStyleCoord::nsStyleCoord |
( |
const nsStyleCoord & |
aCopy |
) |
[inline] |
Member Function Documentation
| float nsStyleCoord::GetAngleValue |
( |
void |
|
) |
const [inline] |
| double nsStyleCoord::GetAngleValueInRadians |
( |
void |
|
) |
const |
| PRInt32 nsStyleCoord::GetCoordValue |
( |
void |
|
) |
const [inline] |
| float nsStyleCoord::GetFactorValue |
( |
void |
|
) |
const [inline] |
| PRInt32 nsStyleCoord::GetIntValue |
( |
void |
|
) |
const [inline] |
| float nsStyleCoord::GetPercentValue |
( |
void |
|
) |
const [inline] |
| void nsStyleCoord::GetUnionValue |
( |
nsStyleUnion & |
aValue |
) |
const [inline] |
| nsStyleUnit nsStyleCoord::GetUnit |
( |
void |
|
) |
const [inline] |
| PRBool nsStyleCoord::IsAngleValue |
( |
void |
|
) |
const [inline] |
| void nsStyleCoord::Reset |
( |
void |
|
) |
|
| void nsStyleCoord::SetAngleValue |
( |
float |
aValue, |
|
|
nsStyleUnit |
aUnit | |
|
) |
| | |
| void nsStyleCoord::SetAutoValue |
( |
void |
|
) |
|
| void nsStyleCoord::SetCoordValue |
( |
nscoord |
aValue |
) |
|
| void nsStyleCoord::SetFactorValue |
( |
float |
aValue |
) |
|
| void nsStyleCoord::SetIntValue |
( |
PRInt32 |
aValue, |
|
|
nsStyleUnit |
aUnit | |
|
) |
| | |
| void nsStyleCoord::SetNoneValue |
( |
void |
|
) |
|
| void nsStyleCoord::SetNormalValue |
( |
void |
|
) |
|
| void nsStyleCoord::SetPercentValue |
( |
float |
aValue |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: