In Qt Quick 2.0, there is no difference in performance, but there are some visual aspects you will have to consider. Once you start placing things on subpixel positions that also means you get antialiased edges on images and rects, texture sampling in images is no longer pixel-to-pixel, etc. This might not always be what you want.
cheers, Gunnar ________________________________________ Fra: interest-bounces+gunnar.sletta=digia....@qt-project.org [interest-bounces+gunnar.sletta=digia....@qt-project.org] på vegne av VStevenP [vstevenpa...@yahoo.com] Sendt: 27. november 2013 19:12 To: interest@qt-project.org Emne: [Interest] Implications of fractional x, y, width, height of QML Items? I understand that QML Item's x, y, width, and height properties are reals. Are there any performance considerations when specifying fractional values for these, on desktop or other platforms such as BB-xM? I am doing a flexible layout based on ratios, so unless I use Math.round, I know I'll end up setting some fractional values for these properties. I'd like to understand the implications, and I don't see much discussion about this on the web. - VStevenP _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest