THuiXYMetric Struct Reference

struct THuiXYMetric

A pair of metrics used to represent a value in both X and Y directions, similar to a THuiRealPoint.

Public Member Functions
THuiXYMetric()
THuiXYMetric(const THuiMetric &)
THuiXYMetric(const THuiMetric &, const THuiMetric &)
THuiXYMetric Abs()
THuiXYMetric operator*(const THuiRealPoint &)
Public Attributes
THuiMetric iX
THuiMetric iY
Private Attributes
TInt iSpare1
TInt iSpare2

Constructor & Destructor Documentation

THuiXYMetric()

IMPORT_CTHuiXYMetric()

Constructor.

THuiXYMetric(const THuiMetric &)

IMPORT_CTHuiXYMetric(const THuiMetric &aMetric)

Constructor. Uses the same metric for both axes.

Parameters

const THuiMetric & aMetricMetric for the X and Y axes.

THuiXYMetric(const THuiMetric &, const THuiMetric &)

IMPORT_CTHuiXYMetric(const THuiMetric &aX,
const THuiMetric &aY
)

Constructor.

Parameters

const THuiMetric & aXmetric for the X axis
const THuiMetric & aYmetric for the Y axis

Member Functions Documentation

Abs()

THuiXYMetric Abs()const [inline]

operator*(const THuiRealPoint &)

THuiXYMetric operator*(const THuiRealPoint &aPoint)const [inline]

Parameters

const THuiRealPoint & aPoint

Member Data Documentation

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]

THuiMetric iX

THuiMetric iX

THuiMetric iY

THuiMetric iY