TMargins8 Class Reference

class TMargins8

A set of margins stored as 8 bit integer values which can represent either pixels or twips between -128 and +127.

Public Member Functions
TMargins8()
TMargins8(TInt8, TInt8, TInt8, TInt8)
IMPORT_C TRectInnerRect(const TRect &)
IMPORT_C TRectOuterRect(const TRect &)
IMPORT_C voidSetAllValuesTo(TInt)
IMPORT_C TSizeSizeDelta()
Public Attributes
TInt8 iBottom
TInt8 iLeft
TInt8 iRight
TInt8 iTop

Constructor & Destructor Documentation

TMargins8()

IMPORT_CTMargins8()

TMargins8(TInt8, TInt8, TInt8, TInt8)

IMPORT_CTMargins8(TInt8aLeft,
TInt8aTop,
TInt8aRight,
TInt8aBottom
)

Parameters

TInt8 aLeft
TInt8 aTop
TInt8 aRight
TInt8 aBottom

Member Functions Documentation

InnerRect(const TRect &)

IMPORT_C TRectInnerRect(const TRect &aOuterRect)const

Parameters

const TRect & aOuterRect

OuterRect(const TRect &)

IMPORT_C TRectOuterRect(const TRect &aInnerRect)const

Parameters

const TRect & aInnerRect

SetAllValuesTo(TInt)

IMPORT_C voidSetAllValuesTo(TIntaCommonValue)

Parameters

TInt aCommonValue

SizeDelta()

IMPORT_C TSizeSizeDelta()const

Member Data Documentation

TInt8 iBottom

TInt8 iBottom

Bottom margin in twips or pixels.

TInt8 iLeft

TInt8 iLeft

Left margin in twips or pixels.

TInt8 iRight

TInt8 iRight

Right margin in twips or pixels.

TInt8 iTop

TInt8 iTop

Top margin in twips or pixels.