Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GDI.H>

Class TPictureCapability

class TPictureCapability;

Description

Picture capabilities.

These include the types of scaling that can be applied to a picture, and whether or not it is croppable.

Members

Defined in TPictureCapability:


Construction and destruction


TPictureCapability(TScalingType,TBool)

inline TPictureCapability(TScalingType aScalingType, TBool aCroppable);

Description

Constructs the object setting the scaling-type and croppability properties.

Parameters

TPictureCapability::TScalingType aScalingType

Whether or not the picture is scalable.

TBool aCroppable

Whether or not the picture is croppable.

[Top]


Member enumerations


Enum TScalingType

TScalingType

Description

Scaling types.

ENotScaleable

The picture is not scalable.

EFullyScaleable

The picture is fully scalable.

EScaleableMaintainingAspectRatio

The picture is scalable to any size, as long as its aspect ratio (the ratio of its height to its width) remains constant.

[Top]


Member data


iScalingType

TScalingType iScalingType;

Description

Whether or not the picture is croppable.


iIsCroppable

TBool iIsCroppable;

Description

Scaling type.