class TMargins |
A set of margins used for cropping a picture.
Margins are specified in twips or pixels.
Public Member Functions | |
---|---|
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C TBool | operator!= (const TMargins &) |
IMPORT_C TBool | operator== (const TMargins &) |
Public Attributes | |
---|---|
TInt | iBottom |
TInt | iLeft |
TInt | iRight |
TInt | iTop |
IMPORT_C void | 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.
RWriteStream & aStream | Stream to which the object is externalised. |
IMPORT_C void | 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.
RReadStream & aStream | Stream from which the object is internalised. |
IMPORT_C TBool | operator!= | ( | const TMargins & | aMargins | ) | const |
Tests margins for inequality.
const TMargins & aMargins | The margin to be compared with this margin. |
IMPORT_C TBool | operator== | ( | const TMargins & | aMargins | ) | const |
Tests margins for equality.
const TMargins & aMargins | The margin to be compared with this margin. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.