void Font::drawSimpleText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to) const { #if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0) drawTextCommon(ctx, run, point, from, to, font(), /* isComplexText = */false); #else Q_ASSERT(false); #endif }
void Font::drawSimpleText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int from, int to) const { drawTextCommon(ctx, run, point, from, to, font(), /* isComplexText = */false); }