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_C TAlfBoxMetric ( )

Constructor.

TAlfBoxMetric(const TAlfMetric &)

IMPORT_C TAlfBoxMetric ( const TAlfMetric & aMetric )

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

Parameters

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

TAlfBoxMetric(const TAlfXYMetric &)

IMPORT_C TAlfBoxMetric ( 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 & aMetric Metric for all sides of the box.

TAlfBoxMetric(const TAlfXYMetric &, const TAlfXYMetric &)

IMPORT_C TAlfBoxMetric ( 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 & aTopLeft Metrics for the left and top sides.
const TAlfXYMetric & aBottomRight Metrics for the right and bottom sides.

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

IMPORT_C TAlfBoxMetric ( const TAlfMetric & aLeft,
const TAlfMetric & aRight,
const TAlfMetric & aTop,
const TAlfMetric & aBottom
)

Constructor.

Parameters

const TAlfMetric & aLeft Metric for the left edge of the box.
const TAlfMetric & aRight Metric for the right edge of the box.
const TAlfMetric & aTop Metric for the top edge of the box.
const TAlfMetric & aBottom Metric 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