Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

SVG Rendering and Source Size:

$
0
0
I would say just don’t scale the image then!? I used some custom SVG files in my latest QML app and it works great, just scale the sourceSize and don’t use the scale property, that will of course re-render the SVG but unless it is a very complex SVG it should be fine even for animations. I think the default scale property is applied after the SVG is rasterized so it will ge “messy” even with antialiasing enabled (you know thee is an antialiasing property int he Item object, right?). In your last post you scale the parent rectangle of the Image, that will off course also scale the Image itself. in a real app i would just never use scale unless for some animations which end with scale:1 … in most cases at least :)

Viewing all articles
Browse latest Browse all 4972

Trending Articles