Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 10. Creating Rich Text Documents > Creating QTextDocuments - Pg. 364

364 Chapter 10. Creating Rich Text Documents SVG Output Technique [Quality Bytes] Platform/ Qt version Linux/Qt 4.5.2 Linux/Qt 4.6.1 Mac/Qt 4.5.2 Mac/Qt 4.6.1 QTextDocument/ QTextDocument/ QTextCursor HTML 94 535 91 756 91 203 92 905 92 066 92 597 94 560 91 436 91 195 91 804 92 087 92 663 QPainter 94 156 102 061 94 124 99 360 95 338 Windows/Qt 4.5.2 Windows/Qt 4.6.1 100 544 Figure 10.6 Comparison of SVG output quality and size Documents can also be output using pixmap formats such as .png (Portable Network Graphics) or .bmp (Windows Bitmap). These formats do not scale well--this is an intrinsic limitation of their design that has nothing to do with Qt--so these formats are ideal for images that will not be scaled. We haven't