Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TMargins Class Reference

A set of margins used for cropping a picture. More...

#include <gdi.h>

Public Member Functions

IMPORT_C void InternalizeL (RReadStream &aStream)
 Internalises a set of margins from a read stream.
 
IMPORT_C void ExternalizeL (RWriteStream &aStream) const
 Externalises a set of margins to a write stream.
 
IMPORT_C TBool operator== (const TMargins &aMargins) const
 Tests margins for equality.
 
IMPORT_C TBool operator!= (const TMargins &aMargins) const
 Tests margins for inequality.
 

Public Attributes

TInt iLeft
 Left margin, (in twips or pixels).
 
TInt iRight
 Right margin, (in twips or pixels).
 
TInt iTop
 Top margin, (in twips or pixels).
 
TInt iBottom
 Bottom margin, (in twips or pixels).
 

Detailed Description

A set of margins used for cropping a picture.

Margins are specified in twips or pixels.

API status
Published to all clients. Released API.

Definition at line 3511 of file gdi.h.

Member Function Documentation

◆ ExternalizeL()

IMPORT_C void TMargins::ExternalizeL ( RWriteStream &  aStream) const

Externalises a set of margins to a write stream.

The presence of this function means that the standard templated stream operator<<() is available to externalise objects of this class.

Parameters
aStreamStream to which the object is externalised.

(generated from Symbian Developer Library)

◆ InternalizeL()

IMPORT_C void TMargins::InternalizeL ( RReadStream &  aStream)

Internalises a set of margins from a read stream.

The presence of this function means that the standard templated stream operator>>() is available to internalise objects of this class.

Parameters
aStreamStream from which the object is internalised.

(generated from Symbian Developer Library)

◆ operator!=()

IMPORT_C TBool TMargins::operator!= ( const TMargins &  aMargins) const

Tests margins for inequality.

Parameters
aMarginsThe margin to be compared with this margin.

(generated from Symbian Developer Library)

◆ operator==()

IMPORT_C TBool TMargins::operator== ( const TMargins &  aMargins) const

Tests margins for equality.

Parameters
aMarginsThe margin to be compared with this margin.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iBottom

TInt TMargins::iBottom

Bottom margin, (in twips or pixels).

Definition at line 3526 of file gdi.h.

◆ iLeft

TInt TMargins::iLeft

Left margin, (in twips or pixels).

Definition at line 3520 of file gdi.h.

◆ iRight

TInt TMargins::iRight

Right margin, (in twips or pixels).

Definition at line 3522 of file gdi.h.

◆ iTop

TInt TMargins::iTop

Top margin, (in twips or pixels).

Definition at line 3524 of file gdi.h.


The documentation for this class was generated from the following files: