Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: gdi.h

Class TPictureCapability

TPictureCapability

Support

Supported from 5.0

Description

Picture capabilities.

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

Defined in TPictureCapability:
EFullyScaleable, ENotScaleable, EScaleableMaintainingAspectRatio, TPictureCapability(), TScalingType, iIsCroppable, iScalingType


Construction and destruction


TPictureCapability()

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]


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]


Public data members


iIsCroppable

TBool iIsCroppable

Description

Scaling type.


iScalingType

TScalingType iScalingType

Description

Whether or not the picture is croppable.