TPictureCapability Class Reference

class TPictureCapability

Picture capabilities.

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

Constructor & Destructor Documentation

TPictureCapability(TScalingType, TBool)

TPictureCapability ( TScalingType aScalingType,
TBool aCroppable
) [inline]

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.

Member Enumerations Documentation

Enum TScalingType

Scaling types.

Enumerators

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.

Member Data Documentation

TBool iIsCroppable

TBool iIsCroppable

Scaling type.

TScalingType iScalingType

TScalingType iScalingType

Whether or not the picture is croppable.