| class TPictureCapability |
Picture capabilities.
These include the types of scaling that can be applied to a picture, and whether or not it is croppable.
| Public Member Functions | |
|---|---|
| TPictureCapability(TScalingType, TBool) | |
| Public Member Enumerations | |
|---|---|
| enum | TScalingType { ENotScaleable, EFullyScaleable, EScaleableMaintainingAspectRatio } |
| Public Attributes | |
|---|---|
| TBool | iIsCroppable |
| TScalingType | iScalingType |
| TPictureCapability | ( | TScalingType | aScalingType, |
| TBool | aCroppable | ||
| ) | [inline] | ||
Constructs the object setting the scaling-type and croppability properties.
| TScalingType aScalingType | Whether or not the picture is scalable. |
| TBool aCroppable | Whether or not the picture is croppable. |
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. |