Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: gdi.h
Link against: gdi.lib

Class TPictureHeader

TPictureHeader

Support

Supported from 5.0

Description

Picture header providing an interface to a stored picture. The header holds:

Defined in TPictureHeader:
DeletePicture(), ExternalizeL(), InternalizeL(), TPictureHeader(), iPicture, iPictureType, iSize


Construction and destruction


TPictureHeader()

TPictureHeader();

Description

Constructs a default picture header.

[Top]


Streaming


ExternalizeL()

void ExternalizeL(RWriteStream& aStream) const;

Description

Externalises a picture header object 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

RWriteStream& aStream

The write stream.


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

Internalises a picture header object 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

RReadStream& aStream

The read stream.

[Top]


Picture deletion


DeletePicture()

void DeletePicture();

Description

Deletes the internalised picture.

The picture can only be deleted if the picture has been internalized.

[Top]


Public data members


iPicture

TSwizzle<CPicture> iPicture

Description

A swizzle storing either the ID of the stream in which the picture is stored, or a pointer to the internalised picture.


iPictureType

TUid iPictureType

Description

A UID specifying the type of the picture.


iSize

TSize iSize

Description

The original size of the picture.