[Interest] QML Skew animation?

Mark Gaiser markg85 at gmail.com
Mon Jun 23 22:48:06 CEST 2014


Hi,

QML has the Rotate and Scale possibility, but i can't find a way to do
image skewing. If you don't know what skewing is, please look at this
image [1].

Skewing is possible in QML's canvas item, but that isn't suited for
animating stuff. Then QML also has the Matrix4x4 which "could" be used
to do a skewing animation, but that makes it more complicated then it
has to be. Shaders are another possibility...

What i'm searching for is some easy to use:

Rectangle {
    ....
    transform: Skew { x: 10; y: 10}
    ....
}

or something alike..
or a "SkewAnimator" just like you have a ScaleAnimator and a couple others.

Cheers,
Mark

[1] http://www.proun-game.com/Oogst3D/BLOG/Shooting%20Animations%20Skewing.gif



More information about the Interest mailing list