THuiBoxMetric Struct Reference

struct THuiBoxMetric

Four metrics used to indicate space around the four edges of a rectangle. Not called a rectangle because those are typically made up of two XY points, while this contains just four edge metrics (named top, bottom, left, and right).

Constructor & Destructor Documentation

THuiBoxMetric()

IMPORT_C THuiBoxMetric ( )

Constructor.

THuiBoxMetric(const THuiMetric &)

IMPORT_C THuiBoxMetric ( const THuiMetric & aMetric )

Constructor. Uses the same metric on all sides of the box.

Parameters

const THuiMetric & aMetric Metric for all sides of the box.

THuiBoxMetric(const THuiXYMetric &)

IMPORT_C THuiBoxMetric ( const THuiXYMetric & aMetric )

Constructor. The X metric is used for the left and right sides, and the Y metric is used for the top and bottom sides.

Parameters

const THuiXYMetric & aMetric Metric for all sides of the box.

THuiBoxMetric(const THuiXYMetric &, const THuiXYMetric &)

IMPORT_C THuiBoxMetric ( const THuiXYMetric & aTopLeft,
const THuiXYMetric & aBottomRight
)

Constructor. The top and left edges are specified in a single parameter, and the bottom and right edges are also specified in a single parameter.

Parameters

const THuiXYMetric & aTopLeft Metrics for the left and top sides.
const THuiXYMetric & aBottomRight Metrics for the right and bottom sides.

THuiBoxMetric(const THuiMetric &, const THuiMetric &, const THuiMetric &, const THuiMetric &)

IMPORT_C THuiBoxMetric ( const THuiMetric & aLeft,
const THuiMetric & aRight,
const THuiMetric & aTop,
const THuiMetric & aBottom
)

Constructor.

Parameters

const THuiMetric & aLeft Metric for the left edge of the box.
const THuiMetric & aRight Metric for the right edge of the box.
const THuiMetric & aTop Metric for the top edge of the box.
const THuiMetric & aBottom Metric for the bottom edge of the box.

Member Data Documentation

THuiMetric iBottom

THuiMetric iBottom

THuiMetric iLeft

THuiMetric iLeft

THuiMetric iRight

THuiMetric iRight

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]

THuiMetric iTop

THuiMetric iTop