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