Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

Enablers: QPicture
Functional Description

QPicture is a Qt painter device that records and replays painting commands. The recordings can be saved and replayed with different painter transformations applied. This provides an efficient way to store scalable icons which have similar properties to SVG icons, but load and render much faster.

Features

QPicture format support

Scalable vector graphics are preferred in Qt Extended to ensure smooth resizing to different sizes, both on individual platforms and across platforms. The source format for scalable graphics is SVG, however the cost to parse SVG graphics can be significant.

Qt Extended Core supports the QPicture format which serializes Qt painting commands to a binary format. This format can be loaded and parsed much faster than SVG and preserves the ability to paint vector graphics at arbitrary sizes. Qt Extended converts all SVG graphics to QPicture format during the install phase to ensure vector graphics can be loaded as quickly as possible at run time.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3