Lines Matching refs:underlinedIndex
49 static void doDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
59 if (underlinedIndex >= 0) {
60 ASSERT(underlinedIndex < static_cast<int>(text.length()));
63 if (underlinedIndex > 0) {
64 TextRun beforeRun(text.characters(), underlinedIndex);
69 TextRun underlinedRun(text.characters() + underlinedIndex, 1);
80 void WebCoreDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
84 doDrawTextAtPoint(context, text, point, font, color, underlinedIndex);
89 void WebCoreDrawDoubledTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& topColor, const Color& bottomColor, int underlinedIndex)
95 doDrawTextAtPoint(context, text, textPos, font, bottomColor, underlinedIndex);
97 doDrawTextAtPoint(context, text, textPos, font, topColor, underlinedIndex);