Control whether renderToImage shows annotations

I'd like to control whether the renderToImage and renderToPainter
methods show annotations or not. To this end, this patch introduces
a new value 'HideAnnotations' to the Document::RenderHint enum.
2 files changed