Home
last modified time | relevance | path

Searched refs:textRect (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSkiaFontWin.cpp51 const SkRect& textRect, in skiaDrawText() argument
75 context->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, textRect, *paint); in skiaDrawText()
84 xpos, y, textRect, *paint); in skiaDrawText()
96 const SkRect& textRect) in paintSkiaText() argument
114 … skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs); in paintSkiaText()
142 … skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs); in paintSkiaText()
155 const SkRect& textRect) in paintSkiaText() argument
158 numGlyphs, glyphs, advances, offsets, origin, textRect); in paintSkiaText()
169 const SkRect& textRect) in paintSkiaText() argument
179 …t, data, face.get(), size, paintTextFlags, numGlyphs, glyphs, advances, offsets, origin, textRect); in paintSkiaText()
DSkiaFontWin.h54 const SkRect& textRect);
69 const SkRect& textRect);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DFontHarfBuzz.cpp61 SkPoint* pos, const FloatRect& textRect) in paintGlyphs() argument
73 gc->drawPosText(glyphs, numGlyphs << 1, pos, textRect, paint); in paintGlyphs()
93 gc->drawPosText(glyphs, numGlyphs << 1, pos, textRect, paint); in paintGlyphs()
99 const FloatPoint& point, const FloatRect& textRect) const in drawGlyphs()
141 paintGlyphs(gc, font, glyphs, chunkLength, pos, textRect); in drawGlyphs()
162 paintGlyphs(gc, font, glyphs, numGlyphs, pos, textRect); in drawGlyphs()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dbubble_decoration.mm96 NSRect textRect = frame;
97 textRect.origin.x = textOffset;
98 textRect.size.width = NSMaxX(decoration_frame) - NSMinX(textRect);
99 DrawLabel(label_, attributes_, textRect);
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dbubble_decoration.mm126 NSRect textRect = decorationFrame;
127 textRect.origin.x = NSMaxX(imageRect);
128 textRect.size.width = NSMaxX(decorationFrame) - NSMinX(textRect);
129 [label_ drawInRect:textRect withAttributes:attributes_];
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontMac.cpp91 const FloatPoint& point, const FloatRect& textRect) const in drawGlyphs()
158 gc->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, textRect, paint); in drawGlyphs()
177 gc->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, textRect, paint); in drawGlyphs()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontWin.cpp63 const FloatRect& textRect) const in drawGlyphs()
112 …xt, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0], origin, SkRect(textRect)); in drawGlyphs()
153 …phicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], 0, origin, SkRect(textRect)); in drawGlyphs()
DUniscribeHelper.h202 int x, int y, const FloatRect& textRect,
DUniscribeHelper.cpp349 const FloatRect& textRect, int from, int to) in draw() argument
452 textRect); in draw()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.h280 …(const void* text, size_t byteLength, const SkPoint pos[], const SkRect& textRect, const SkPaint&);
281 …size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkRect& textRect, const SkPaint&);
282 …void drawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkRect& textRect, co…
439 void didDrawTextInRect(const SkRect& textRect);
DGraphicsContext.cpp1279 const SkPoint pos[], const SkRect& textRect, const SkPaint& paint) in drawPosText() argument
1285 didDrawTextInRect(textRect); in drawPosText()
1293 const SkScalar xpos[], SkScalar constY, const SkRect& textRect, const SkPaint& paint) in drawPosTextH() argument
1299 didDrawTextInRect(textRect); in drawPosTextH()
1307 const SkPath& path, const SkRect& textRect, const SkMatrix* matrix, const SkPaint& paint) in drawTextOnPath() argument
1313 didDrawTextInRect(textRect); in drawTextOnPath()
1994 void GraphicsContext::didDrawTextInRect(const SkRect& textRect) in didDrawTextInRect() argument
1998 m_textRegion.join(textRect); in didDrawTextInRect()
/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button.mm142 NSRect textRect = bounds;
143 textRect.size.height = std::min(desiredSize.height, NSHeight(bounds));
147 textRect.origin.x += 2;
149 return textRect;
/external/chromium_org/third_party/WebKit/Source/web/tests/
DGraphicsContextTest.cpp704 SkRect textRect = SkRect::MakeWH(width, height); in TEST() local
729 context.drawPosText("A", 1, &point, textRect, opaquePaint); in TEST()
733 context.drawPosText("A", 1, &point, textRect, alphaPaint); in TEST()
741 context.drawPosTextH("A", 1, &pointX, 0, textRect, opaquePaint); in TEST()
745 context.drawPosTextH("A", 1, &pointX, 0, textRect, alphaPaint); in TEST()
753 context.drawTextOnPath("A", 1, path, textRect, 0, opaquePaint); in TEST()
757 context.drawTextOnPath("A", 1, path, textRect, 0, alphaPaint); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGInlineTextBox.cpp706 FloatRect textRect; in calculateBoundaries() local
725 textRect.unite(fragmentRect); in calculateBoundaries()
728 return textRect; in calculateBoundaries()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.h177 …yphBuffer&, unsigned from, unsigned numGlyphs, const FloatPoint&, const FloatRect& textRect) const;