From cc9ca2becea6814b14c87615f67bb8db17968bc1 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Sat, 14 Feb 2015 20:51:28 +0400 Subject: Micro optimization to QPainterPrivate::drawGlyphs Re-use font engine obtained in the first place Change-Id: Icdc2ad404ba9b2aadf2732e95c43a47aa957a6fb Reviewed-by: Friedemann Kleint Reviewed-by: Lars Knoll --- src/gui/painting/qpainter_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/painting/qpainter_p.h') diff --git a/src/gui/painting/qpainter_p.h b/src/gui/painting/qpainter_p.h index dde01d32fa..5ac5cac2ff 100644 --- a/src/gui/painting/qpainter_p.h +++ b/src/gui/painting/qpainter_p.h @@ -226,7 +226,7 @@ public: #if !defined(QT_NO_RAWFONT) void drawGlyphs(const quint32 *glyphArray, QFixedPoint *positionArray, int glyphCount, - const QRawFont &font, bool overline = false, bool underline = false, + QFontEngine *fontEngine, bool overline = false, bool underline = false, bool strikeOut = false); #endif -- cgit v1.2.1