TPictureCapability Class Reference

#include <gdi.h>

class TPictureCapability

Detailed Description

Picture capabilities.

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

Member Attribute Documentation

iIsCroppable

TBool iIsCroppable

Scaling type.

iScalingType

TScalingType iScalingType

Whether or not the picture is croppable.

Member Enumeration Documentation

Enum TScalingType

Scaling types.

EnumeratorValueDescription
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.

Constructor & Destructor Documentation

TPictureCapability ( TScalingType, TBool )

TPictureCapability(TScalingTypeaScalingType,
TBoolaCroppable
)[inline]

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

Parameters
aScalingTypeWhether or not the picture is scalable.
aCroppableWhether or not the picture is croppable.