From 525a660ea3ea28437c6cca28cae937b71001a4e3 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 22 May 2015 11:55:50 +0200 Subject: Clarify QPainter::drawText() documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The difference between rectangle and boundingRect was not quite clear. This patch adds a snippet with a corresponding image, in order to illustrate the difference. Change-Id: Icb1fe737788cc93f1c5baa16bc0e04b8ec728f3a Reviewed-by: Topi Reiniƶ Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/doc/images/qpainter-text-bounds.png | Bin 0 -> 1501 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/gui/doc/images/qpainter-text-bounds.png (limited to 'src/gui/doc/images') diff --git a/src/gui/doc/images/qpainter-text-bounds.png b/src/gui/doc/images/qpainter-text-bounds.png new file mode 100644 index 0000000000..f92b8502f4 Binary files /dev/null and b/src/gui/doc/images/qpainter-text-bounds.png differ -- cgit v1.2.3