TAlfBoxMetric Struct Reference

struct TAlfBoxMetric

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

TAlfBoxMetric()

IMPORT_CTAlfBoxMetric()

Constructor.

TAlfBoxMetric(const TAlfMetric &)

IMPORT_CTAlfBoxMetric(const TAlfMetric &aMetric)

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

Parameters

const TAlfMetric & aMetricMetric for all sides of the box.

TAlfBoxMetric(const TAlfXYMetric &)

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

TAlfBoxMetric(const TAlfXYMetric &, const TAlfXYMetric &)

IMPORT_CTAlfBoxMetric(const TAlfXYMetric &aTopLeft,
const TAlfXYMetric &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 TAlfXYMetric & aTopLeftMetrics for the left and top sides.
const TAlfXYMetric & aBottomRightMetrics for the right and bottom sides.

TAlfBoxMetric(const TAlfMetric &, const TAlfMetric &, const TAlfMetric &, const TAlfMetric &)

IMPORT_CTAlfBoxMetric(const TAlfMetric &aLeft,
const TAlfMetric &aRight,
const TAlfMetric &aTop,
const TAlfMetric &aBottom
)

Constructor.

Parameters

const TAlfMetric & aLeftMetric for the left edge of the box.
const TAlfMetric & aRightMetric for the right edge of the box.
const TAlfMetric & aTopMetric for the top edge of the box.
const TAlfMetric & aBottomMetric for the bottom edge of the box.

Member Data Documentation

TAlfMetric iBottom

TAlfMetric iBottom

TAlfMetric iLeft

TAlfMetric iLeft

TAlfMetric iRight

TAlfMetric iRight

TAlfMetric iTop

TAlfMetric iTop