HomeSort by relevance Sort by last modified time
    Searched refs:TextRun (Results 26 - 50 of 72) sorted by null

12 3

  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontChromiumWin.cpp 302 const TextRun&,
314 const TextRun& m_run;
322 const TextRun& run,
461 FloatRect Font::selectionRectForComplexText(const TextRun& run,
481 const TextRun& run,
531 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const
536 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const
542 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
ComplexTextControllerLinux.cpp 35 #include "TextRun.h"
49 ComplexTextController::ComplexTextController(const TextRun& run, unsigned startingX, const Font* font)
115 // setPadding sets a number of pixels to be distributed across the TextRun.
146 // TextRun has been reached.
347 const TextRun& ComplexTextController::getNormalizedTextRun(const TextRun& originalRun, OwnPtr<TextRun>& normalizedRun, OwnArrayPtr<UChar>& normalizedBuffer)
394 normalizedRun.set(new TextRun(originalRun));
UniscribeHelperTextRun.cpp 37 #include "TextRun.h"
41 UniscribeHelperTextRun::UniscribeHelperTextRun(const TextRun& run,
FontLinux.cpp 183 void Font::drawComplexText(GraphicsContext* gc, const TextRun& run,
239 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const
244 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbackFonts */, GlyphOverflow* /* glyphOverflow */) const
271 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
325 // Return the rectangle for selecting the given range of code-points in the TextRun.
326 FloatRect Font::selectionRectForComplexText(const TextRun& run,
  /external/webkit/Source/WebCore/rendering/
RenderCombineText.cpp 24 #include "TextRun.h"
96 TextRun run = TextRun(String(text()));
RenderEmbeddedObject.cpp 52 #include "TextRun.h"
164 TextRun run("");
184 bool RenderEmbeddedObject::getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth)
201 run = TextRun(m_replacementText.characters(), m_replacementText.length());
259 TextRun run("");
RenderFileUploadControl.cpp 40 #include "TextRun.h"
232 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !style()->isLeftToRightDirection(), style()->unicodeBidi() == Override);
242 textX = contentLeft + contentWidth() - buttonAndIconWidth - style()->font().width(textRun);
252 paintInfo.context->drawBidiText(style()->font(), textRun, IntPoint(textX, textY));
289 float charWidth = style()->font().width(TextRun(&ch, 1, false, 0, 0, TextRun::AllowTrailingExpansion, false));
InlineTextBox.cpp 196 IntRect r = enclosingIntRect(f.selectionRectForText(TextRun(characters, len, textObj->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOverride),
390 static void paintTextWithShadows(GraphicsContext* context, const Font& font, const TextRun& textRun, const AtomicString& emphasisMark, int emphasisMarkOffset, int startOffset, int endOffset, int truncationPoint, const FloatPoint& textOrigin,
408 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, endOffset);
410 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), startOffset, endOffset);
414 context->drawText(font, textRun, textOrigin + extraOffset, 0, endOffset);
416 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), 0, endOffset);
419 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, truncationPoint);
421 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), startOffset, truncationPoint);
653 TextRun textRun(characters, length, textRenderer()->allowTabs(), textPos(), m_expansion, expansionBehavior (…)
    [all...]
RenderTextControl.cpp 43 #include "TextRun.h"
555 return style()->font().width(TextRun(&ch, 1, false, 0, 0, TextRun::AllowTrailingExpansion, false));
650 TextRun textRun(placeholderText.characters(), placeholderText.length(), false, 0, 0, TextRun::AllowTrailingExpansion, !placeholderStyle->isLeftToRightDirection(), placeholderStyle->unicodeBidi() == Override);
659 textPoint.setX(tx + width() - textBlockInsetRight() - style()->font().width(textRun));
661 paintInfo.context->drawBidiText(placeholderStyle->font(), textRun, textPoint);
RenderListBox.cpp 57 #include "TextRun.h"
120 float textWidth = itemFont.width(TextRun(text.impl(), false, 0, 0, TextRun::AllowTrailingExpansion, false, false));
339 static IntSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, IntRect itemBoudingBox)
348 float textWidth = itemFont.width(textRun);
351 float textWidth = itemFont.width(textRun);
392 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !itemStyle->isLeftToRightDirection(), itemStyle->unicodeBidi() == Overrid (…)
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
WebPopupMenuWin.cpp 32 #include <WebCore/TextRun.h>
69 popupWidth = std::max<float>(popupWidth, ceilf(itemFont.width(TextRun(text.characters(), text.length()))));
119 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, itemText.defaultWritingDirection() == WTF::Unicode::RightToLeft);
139 notSelectedBackingStoreContext->drawBidiText(itemFont, textRun, IntPoint(textX, textY));
140 selectedBackingStoreContext->drawBidiText(itemFont, textRun, IntPoint(textX, textY));
  /external/webkit/Source/WebCore/platform/graphics/
Font.cpp 32 #include "TextRun.h"
127 void Font::drawText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
148 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const
168 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
186 float Font::width(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
204 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
219 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const
273 Font::CodePath Font::codePath(const TextRun& run) const
FontFastPath.cpp 32 #include "TextRun.h"
325 float Font::getGlyphsAndAdvancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
353 void Font::drawSimpleText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
367 void Font::drawEmphasisMarksForSimpleText(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const
449 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
464 FloatRect Font::selectionRectForSimpleText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
482 int Font::offsetForPositionForSimpleText(const TextRun& run, float x, bool includePartialGlyphs) const
GraphicsContext.h 136 class TextRun;
376 void drawText(const Font&, const TextRun&, const FloatPoint&, int from = 0, int to = -1);
377 void drawEmphasisMarks(const Font&, const TextRun& , const AtomicString& mark, const FloatPoint&, int from = 0, int to = -1);
378 void drawBidiText(const Font&, const TextRun&, const FloatPoint&);
380 void drawHighlightForText(const Font&, const TextRun&, const FloatPoint&, int h, const Color& backgroundColor, ColorSpace, int from = 0, int to = -1, bool isActive = true);
382 void drawHighlightForText(const Font&, const TextRun&, const FloatPoint&, int h, const Color& backgroundColor, ColorSpace, int from = 0, int to = -1);
GraphicsContext.cpp 35 #include "TextRun.h"
49 TextRunIterator(const TextRun* textRun, unsigned offset)
50 : m_textRun(textRun)
75 const TextRun* m_textRun;
378 void GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to)
387 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)
395 void GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const FloatPoint& point)
419 TextRun subrun = run;
436 void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const FloatPoint& point, int h, const Color& backgroundColor, ColorSpace colorSpace, int fro (…)
    [all...]
StringTruncator.cpp 34 #include "TextRun.h"
97 TextRun run(characters, length);
  /external/webkit/Source/WebCore/platform/graphics/gtk/
FontGtk.cpp 43 #include "TextRun.h"
170 static void setPangoAttributes(const Font* font, const TextRun& run, PangoLayout* layout)
269 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const
329 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const
335 static PangoLayout* getDefaultPangoLayout(const TextRun& run)
349 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* overflow) const
374 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, bool includePartialGlyphs) const
402 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const
  /external/webkit/Source/WebCore/svg/
SVGFont.cpp 40 #include "TextRun.h"
231 typedef void (*SVGTextRunWalkerMissingGlyphCallback)(const TextRun&, SVGTextRunData&);
243 void walk(const TextRun& run, bool isVerticalText, const String& language, int from, int to)
311 TextRun subRun(run);
357 static void floatWidthMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerMeasuredLengthData& data)
382 static float floatWidthOfSubStringUsingSVGFont(const Font* font, const TextRun& run, int extraCharsAvailable, int from, int to, int& charsConsumed, String& glyphName)
431 float Font::floatWidthUsingSVGFont(const TextRun& run) const
438 float Font::floatWidthUsingSVGFont(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphName) const
458 static void drawTextMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerDrawTextData& data)
465 void Font::drawTextUsingSVGFont(GraphicsContext* context, const TextRun& run,
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContextSkia.h 84 virtual void drawHighlightForText(const Font& font, const TextRun& run,
  /external/webkit/Source/WebCore/platform/graphics/win/
WebLayer.cpp 133 cg.drawText(font, TextRun(text), IntPoint(aBounds.origin.x + 5, aBounds.origin.y + 17));
  /external/webkit/Source/WebCore/rendering/svg/
SVGInlineTextBox.cpp 35 #include "TextRun.h"
69 TextRun textRun(constructTextRun(style, fragment));
76 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
78 return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
381 bool SVGInlineTextBox::prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style)
388 textRun.setActivePaintingResource(m_paintingResource);
394 void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCHeadsUpDisplay.cpp 37 #include "TextRun.h"
167 TextRun run(text);
214 ctx->drawText(*m_smallFont, TextRun(lines[i]), IntPoint(2, y));
  /external/webkit/Source/WebCore/platform/win/
DragImageWin.cpp 39 #include "TextRun.h"
158 TextRun labelRun(label.impl());
159 TextRun urlRun(urlString.impl());
  /external/webkit/Source/WebCore/platform/chromium/
PopupMenuChromium.cpp 56 #include "TextRun.h"
    [all...]
  /external/webkit/Source/WebKit/mac/Misc/
WebKitNSStringExtras.mm 33 #import <WebCore/TextRun.h>
93 TextRun run(buffer.data(), length);
138 TextRun run(buffer.data(), length);

Completed in 282 milliseconds

12 3