Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
EFullyScaleable, ENotScaleable, EScaleableMaintainingAspectRatio, TPictureCapability(), TScalingType, iIsCroppable, iScalingType


Construction and destruction


TPictureCapability()

inline TPictureCapability(TScalingType aScalingType, TBool aCroppable);

Description

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

Parameters

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.