diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-20 02:08:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-20 02:08:39 (GMT) |
commit | 341f47a31d6d98e402547c77ccbe358465f8b1a9 (patch) | |
tree | f17c2e0bb6b8f0bd10a355ae5b868f17b4782c8c /examples/declarative/aspectratio/face_fit.qml | |
parent | b6f85c59d1cd45a4df57440b9d39659d2646223e (diff) | |
download | Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.zip Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.tar.gz Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.tar.bz2 |
Update in light of new Image.preserveAspect property
Diffstat (limited to 'examples/declarative/aspectratio/face_fit.qml')
-rw-r--r-- | examples/declarative/aspectratio/face_fit.qml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/declarative/aspectratio/face_fit.qml b/examples/declarative/aspectratio/face_fit.qml index 35c63ce..3005d1b 100644 --- a/examples/declarative/aspectratio/face_fit.qml +++ b/examples/declarative/aspectratio/face_fit.qml @@ -1,7 +1,3 @@ -// The Image primitive does not have any special handling for maintaining -// aspect ratio. This example shows that you can provide whatever specific -// behaviour you like. -// // Here, we implement a hybrid of the "scale to fit" and "scale and crop" // behaviours which will crop up to 25% from *one* dimension if necessary // to fully scale the other. This is a realistic algorithm, for example |