[Interest] QML Skew animation?

Ian Monroe ian at monroe.nu
Mon Jun 23 22:55:05 CEST 2014


On Mon, Jun 23, 2014 at 1:48 PM, Mark Gaiser <markg85 at gmail.com> wrote:
> 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.

Rotating on the Z axis skews the image, though I'm not saying it meets
your needs for a skewing operation.

Ian



More information about the Interest mailing list