QPdf Namespace
The QPdf namespace contains miscellaneous identifiers used throughout the QtPdf module. More...
Header: | #include <QPdf> |
Types
enum | RenderFlag { NoRenderFlags, RenderAnnotations, RenderOptimizedForLcd, RenderGrayscale, RenderForceHalftone, …, RenderPathAliased } |
flags | RenderFlags |
enum | Rotation { Rotate0, Rotate90, Rotate180, Rotate270 } |
Type Documentation
enum QPdf::RenderFlag
flags QPdf::RenderFlags
This enum is used to describe how a page should be rendered.
Constant | Value | Description |
---|---|---|
QPdf::NoRenderFlags | 0x000 | The default value, representing no flags. |
QPdf::RenderAnnotations | 0x001 | The page is rendered with annotations. |
QPdf::RenderOptimizedForLcd | 0x002 | The text of the page is rendered optimized for LCD display. |
QPdf::RenderGrayscale | 0x004 | The page is rendered grayscale. |
QPdf::RenderForceHalftone | 0x008 | Always use halftones for rendering if the output image is stretched. |
QPdf::RenderTextAliased | 0x010 | Anti-aliasing is disabled for rendering text. |
QPdf::RenderImageAliased | 0x020 | Anti-aliasing is disabled for rendering images. |
QPdf::RenderPathAliased | 0x040 | Anti-aliasing is disabled for rendering paths. |
The RenderFlags type is a typedef for QFlags<RenderFlag>. It stores an OR combination of RenderFlag values.
See also QPdfDocument::render().
enum QPdf::Rotation
This enum describes the rotation of the page for rendering.
Constant | Value | Description |
---|---|---|
QPdf::Rotate0 | 0 | Do not rotate (the default) |
QPdf::Rotate90 | 1 | Rotate 90 degrees clockwise |
QPdf::Rotate180 | 2 | Rotate 180 degrees |
QPdf::Rotate270 | 3 | Rotate 270 degrees clockwise |
See also QPdfDocument::render().
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.