Searched refs:textRect (Results 1 - 4 of 4) sorted by relevance
/external/webkit/WebCore/platform/graphics/win/ |
H A D | FontCGWin.cpp | 161 IntRect textRect; local 163 hdc = graphicsContext->getWindowsContext(textRect, true, false); 169 textRect = IntRect(point.x() - (font->ascent() + font->descent()) / 2, point.y() - font->ascent() - lineGap, totalWidth + font->ascent() + font->descent(), font->lineSpacing()); 170 bitmap.set(graphicsContext->createWindowsBitmap(textRect.size())); 179 xform.eDx = -textRect.x(); 180 xform.eDy = -textRect.y(); 289 graphicsContext->drawWindowsBitmap(bitmap.get(), textRect.topLeft()); 291 graphicsContext->releaseWindowsContext(hdc, textRect, true, false);
|
/external/webkit/WebCore/html/canvas/ |
H A D | CanvasRenderingContext2D.cpp | 1511 FloatRect textRect = FloatRect(location.x() - font.height() / 2, location.y() - font.ascent() - font.lineGap(), local 1514 textRect.inflate(c->strokeThickness() / 2); 1517 canvas()->willDraw(textRect); 1519 // When stroking text, pointy miters can extend outside of textRect, so we 1528 IntRect maskRect = enclosingIntRect(textRect);
|
/external/webkit/WebCore/platform/graphics/wince/ |
H A D | GraphicsContextWince.cpp | 1587 FloatRect textRect = font.selectionRectForText(run, point, font.height(), from, to); local 1588 textRect.setY(textRect.y() - font.ascent()); 1589 IntRect trRect = enclosingIntRect(m_data->mapRect(textRect));
|
/external/webkit/WebCore/rendering/ |
H A D | InlineTextBox.cpp | 640 FloatRect textRect(tx + x(), rootRect.y(), width(), rootRect.height()); 642 page->chrome()->client()->paintCustomHighlight(renderer()->node(), type, textRect, rootRect, true, false);
|
Completed in 206 milliseconds