[Interest] QML Skew animation?

Mark Gaiser markg85 at gmail.com
Tue Jun 24 10:57:59 CEST 2014


On Mon, Jun 23, 2014 at 10:55 PM, Ian Monroe <ian at monroe.nu> wrote:
> 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

Hi Ian,

Thank you for your suggestion. I wasn't sure if that would work so i
tried it. Sadly, that's not giving the skewing results i was
expecting..
Look like QML (besides canvas) doesn't have this capability?



More information about the Interest mailing list