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_CTHuiBoxMetric()

Constructor.

THuiBoxMetric(const THuiMetric &)

IMPORT_CTHuiBoxMetric(const THuiMetric &aMetric)

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

Parameters

const THuiMetric & aMetricMetric for all sides of the box.

THuiBoxMetric(const THuiXYMetric &)

IMPORT_CTHuiBoxMetric(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 & aMetricMetric for all sides of the box.

THuiBoxMetric(const THuiXYMetric &, const THuiXYMetric &)

IMPORT_CTHuiBoxMetric(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 & aTopLeftMetrics for the left and top sides.
const THuiXYMetric & aBottomRightMetrics for the right and bottom sides.

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

IMPORT_CTHuiBoxMetric(const THuiMetric &aLeft,
const THuiMetric &aRight,
const THuiMetric &aTop,
const THuiMetric &aBottom
)

Constructor.

Parameters

const THuiMetric & aLeftMetric for the left edge of the box.
const THuiMetric & aRightMetric for the right edge of the box.
const THuiMetric & aTopMetric for the top edge of the box.
const THuiMetric & aBottomMetric 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