Searched refs:urlFont (Results 1 - 2 of 2) sorted by relevance
/external/webkit/Source/WebCore/platform/win/ |
H A D | DragImageWin.cpp | 132 const Font* urlFont; local 138 urlFont = &alternateRenderingModeURLFont; 143 urlFont = &normalRenderingModeURLFont; 171 urlStringSize.setWidth(urlFont->width(urlRun)); 172 urlStringSize.setHeight(urlFont->fontMetrics().ascent() + urlFont->fontMetrics().descent()); 213 urlString = StringTruncator::rightTruncate(urlString, imageSize.width() - (DragLabelBorderX * 2.0f), *urlFont); 214 IntPoint textPos(DragLabelBorderX, imageSize.height() - (LabelBorderYOffset + urlFont->fontMetrics().descent())); 215 WebCoreDrawDoubledTextAtPoint(context, urlString, textPos, *urlFont, topColor, bottomColor);
|
/external/webkit/Source/WebCore/platform/mac/ |
H A D | DragImageMac.mm | 252 NSFont *urlFont = [NSFont systemFontOfSize:DragLinkUrlFontSize]; 266 urlStringSize.width = widthWithFont(urlString, urlFont); 267 urlStringSize.height = [urlFont ascender] - [urlFont descender]; 296 urlString = StringTruncator::centerTruncate(urlString, imageSize.width - (DragLabelBorderX * 2), fontFromNSFont(urlFont)); 298 drawDoubledAtPoint(urlString, NSMakePoint(DragLabelBorderX, DragLabelBorderY - [urlFont descender]), topColor, bottomColor, urlFont);
|
Completed in 45 milliseconds