Home
last modified time | relevance | path

Searched refs:TextRun (Results 1 – 25 of 81) sorted by relevance

1234

/external/webkit/Source/WebCore/platform/graphics/
DFont.h54 class TextRun; variable
97 …void drawText(GraphicsContext*, const TextRun&, const FloatPoint&, int from = 0, int to = -1) cons…
98 …void drawEmphasisMarks(GraphicsContext*, const TextRun&, const AtomicString& mark, const FloatPoin…
100 …float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0)…
101 … float width(const TextRun&, int extraCharsAvailable, int& charsConsumed, String& glyphName) const;
103 int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const;
104 …FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1…
161 …void drawTextUsingSVGFont(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) c…
162 float floatWidthUsingSVGFont(const TextRun&) const;
163 …float floatWidthUsingSVGFont(const TextRun&, int extraCharsAvailable, int& charsConsumed, String& …
[all …]
DWidthIterator.h33 class TextRun; variable
36 …WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool…
48 const TextRun& m_run;
DFont.cpp127 void Font::drawText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from… in drawText()
148 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRun& run, const AtomicString& mark… in drawEmphasisMarks()
168 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*… in width()
186 float Font::width(const TextRun& run, int extraCharsAvailable, int& charsConsumed, String& glyphNam… in width()
204 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, … in selectionRectForText()
219 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const in offsetForPosition()
273 Font::CodePath Font::codePath(const TextRun& run) const in codePath()
DTextRun.h34 class TextRun {
45TextRun(const UChar* c, int len, bool allowTabs = false, float xpos = 0, float expansion = 0, Expa…
65TextRun(const String& s, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBeh…
/external/webkit/Source/WebCore/platform/graphics/efl/
DFontEfl.cpp38 void Font::drawComplexText(GraphicsContext*, const TextRun&, const FloatPoint&, int from, int to) c… in drawComplexText() argument
43 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
58 float Font::floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>*, GlyphOverflow… in floatWidthForComplexText() argument
64 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const in offsetForPositionForComplexText() argument
70 FloatRect Font::selectionRectForComplexText(const TextRun&, const FloatPoint&, int, int, int) const in selectionRectForComplexText() argument
/external/webkit/Source/WebCore/platform/graphics/chromium/
DComplexTextControllerLinux.h63 ComplexTextController(const TextRun&, unsigned, const Font*);
131 …static const TextRun& getNormalizedTextRun(const TextRun& originalRun, OwnPtr<TextRun>& normalized…
146 OwnPtr<TextRun> m_normalizedRun;
148 const TextRun& m_run;
DFontChromiumWin.cpp302 const TextRun&,
314 const TextRun& m_run;
322 const TextRun& run, in TransparencyAwareUniscribePainter()
461 FloatRect Font::selectionRectForComplexText(const TextRun& run, in selectionRectForComplexText()
481 const TextRun& run, in drawComplexText()
531 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
536 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* /* fallbac… in floatWidthForComplexText()
542 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, in offsetForPositionForComplexText()
DUniscribeHelperTextRun.h39 class TextRun; variable
46 UniscribeHelperTextRun(const TextRun&, const Font&);
/external/webkit/Source/WebCore/platform/graphics/haiku/
DFontHaiku.cpp95 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, in drawComplexText()
101 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
106 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
112 FloatRect Font::selectionRectForComplexText(const TextRun&, const FloatPoint&, int, int, int) const in selectionRectForComplexText() argument
118 int Font::offsetForPositionForComplexText(const TextRun&, float, bool) const in offsetForPositionForComplexText() argument
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextMetrics.cpp37 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run, unsigned posi… in SVGTextMetrics()
75 static TextRun constructTextRun(RenderSVGInlineText* text, const UChar* characters, unsigned positi… in constructTextRun()
80 TextRun run(characters + position in constructTextRun()
85 , TextRun::AllowTrailingExpansion in constructTextRun()
101 TextRun run(constructTextRun(text, text->characters(), position, length)); in measureCharacterRange()
DSVGInlineTextBox.h67 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const;
72 …bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float scalingFactor, TextRun&, Rende…
73 void restoreGraphicsContextAfterTextPainting(GraphicsContext*&, TextRun&);
77 …void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int st…
DSVGTextMetrics.h29 class TextRun; variable
69 SVGTextMetrics(RenderSVGInlineText*, const TextRun&, unsigned position, unsigned textLength);
/external/webkit/Source/WebCore/platform/graphics/win/
DFontWin.cpp53 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, in selectionRectForComplexText()
72 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& g… in getGlyphsAndAdvancesForComplexText()
97 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, in drawComplexText()
114 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const Atom… in drawEmphasisMarksForComplexText()
125 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
138 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, bool includePartialGlyp… in offsetForPositionForComplexText()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontComplexTextMac.cpp41 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, in selectionRectForComplexText()
59 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& g… in getGlyphsAndAdvancesForComplexText()
83 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, i… in drawComplexText()
99 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const Atom… in drawEmphasisMarksForComplexText()
110 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
122 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) c… in offsetForPositionForComplexText()
/external/webkit/Source/WebKit/chromium/src/
DWebTextRun.cpp40 WebTextRun::operator WebCore::TextRun() const in operator WebCore::TextRun()
42 return TextRun(text, false, 0, 0, TextRun::AllowTrailingExpansion, rtl, directionalOverride); in operator WebCore::TextRun()
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontWinCE.cpp74 …TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, const Font &font, i…
81 TextRun m_textRun;
87 TextRunComponent::TextRunComponent(const UChar *start, int length, const TextRun& parentTextRun, co… in TextRunComponent()
89 …, parentTextRun.allowsTrailingExpansion() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrail… in TextRunComponent()
110 static int generateComponents(TextRunComponents* components, const Font &font, const TextRun &run) in generateComponents()
208 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, in drawComplexText()
238 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
243 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
250 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, bool includePartialGlyp… in offsetForPositionForComplexText()
320 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& pt, in selectionRectForComplexText()
/external/webkit/Source/WebCore/platform/graphics/wx/
DFontWx.cpp83 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int… in selectionRectForComplexText()
111 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& /* run */, int /* from */, int /* to … in getGlyphsAndAdvancesForComplexText() argument
119 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, i… in drawComplexText()
157 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const Atom… in drawEmphasisMarksForComplexText()
168 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
184 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) c… in offsetForPositionForComplexText()
/external/webkit/Source/WebCore/rendering/
DEllipsisBox.cpp56 …context->drawText(style->font(), TextRun(str.characters(), str.length(), false, 0, 0, TextRun::All… in paint()
77 …urn enclosingIntRect(f.selectionRectForText(TextRun(m_str.characters(), m_str.length(), false, 0, … in selectionRect()
97 …context->drawHighlightForText(font, TextRun(m_str.characters(), m_str.length(), false, 0, 0, TextR… in paintSelection()
DInlineTextBox.h174 TextRun::ExpansionBehavior expansionBehavior() const in expansionBehavior()
176 …return (canHaveLeadingExpansion() ? TextRun::AllowLeadingExpansion : TextRun::ForbidLeadingExpansi… in expansionBehavior()
177 …| (m_expansion && nextLeafChild() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpan… in expansionBehavior()
/external/webkit/Source/WebCore/platform/graphics/android/
DFontAndroid.cpp233 void Font::drawEmphasisMarksForComplexText(WebCore::GraphicsContext*, WebCore::TextRun const&, WTF:… in drawEmphasisMarksForComplexText()
240 FloatRect Font::selectionRectForComplexText(const TextRun& run, in selectionRectForComplexText()
258 void Font::drawComplexText(GraphicsContext* gc, TextRun const& run, in drawComplexText()
276 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOver… in floatWidthForComplexText()
288 int Font::offsetForPositionForComplexText(const TextRun& run, float x, in offsetForPositionForComplexText()
358 TextRunWalker(const TextRun&, unsigned, const Font*);
454 static const TextRun& getNormalizedTextRun(const TextRun& originalRun,
455 OwnPtr<TextRun>& normalizedRun, OwnArrayPtr<UChar>& normalizedBuffer);
471 OwnPtr<TextRun> m_normalizedRun;
473 const TextRun& m_run;
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontQt.cpp61 static QTextLine setupLayout(QTextLayout* layout, const TextRun& style) in setupLayout()
76 static void drawTextCommon(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int f… in drawTextCommon()
238 void Font::drawSimpleText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int fr… in drawSimpleText()
243 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, int f… in drawComplexText()
266 void Font::drawEmphasisMarksForSimpleText(GraphicsContext* /* context */, const TextRun& /* run */,… in drawEmphasisMarksForSimpleText() argument
271 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const Sim… in floatWidthForSimpleText()
296 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>*, GlyphOver… in floatWidthForComplexText()
318 int Font::offsetForPositionForSimpleText(const TextRun& run, float position, bool includePartialGly… in offsetForPositionForSimpleText()
341 int Font::offsetForPositionForComplexText(const TextRun& run, float position, bool) const in offsetForPositionForComplexText()
[all …]
/external/webkit/Source/WebCore/platform/win/
DWebCoreTextRenderer.cpp39 static bool isOneLeftToRightRun(const TextRun& run) in isOneLeftToRightRun()
51 TextRun run(text.characters(), text.length()); in doDrawTextAtPoint()
64 TextRun beforeRun(text.characters(), underlinedIndex); in doDrawTextAtPoint()
69 TextRun underlinedRun(text.characters() + underlinedIndex, 1); in doDrawTextAtPoint()
/external/webkit/Source/WebCore/svg/
DSVGFont.cpp231 typedef void (*SVGTextRunWalkerMissingGlyphCallback)(const TextRun&, SVGTextRunData&);
243 void walk(const TextRun& run, bool isVerticalText, const String& language, int from, int to) in walk()
311 TextRun subRun(run); in walk()
357 static void floatWidthMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerMeasuredLengthData& … in floatWidthMissingGlyphCallback()
382 static float floatWidthOfSubStringUsingSVGFont(const Font* font, const TextRun& run, int extraChars… in floatWidthOfSubStringUsingSVGFont()
431 float Font::floatWidthUsingSVGFont(const TextRun& run) const in floatWidthUsingSVGFont()
438 float Font::floatWidthUsingSVGFont(const TextRun& run, int extraCharsAvailable, int& charsConsumed,… in floatWidthUsingSVGFont()
458 static void drawTextMissingGlyphCallback(const TextRun& run, SVGTextRunWalkerDrawTextData& data) in drawTextMissingGlyphCallback()
465 void Font::drawTextUsingSVGFont(GraphicsContext* context, const TextRun& run, in drawTextUsingSVGFont()
571 TextRun fallbackCharacterRun(run); in drawTextUsingSVGFont()
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebTextRun.h37 namespace WebCore { class TextRun; } variable
62 operator WebCore::TextRun() const;
/external/webkit/Source/WebCore/platform/graphics/gtk/
DFontGtk.cpp170 static void setPangoAttributes(const Font* font, const TextRun& run, PangoLayout* layout) in setPangoAttributes()
269 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, i… in drawComplexText()
329 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */… in drawEmphasisMarksForComplexText() argument
335 static PangoLayout* getDefaultPangoLayout(const TextRun& run) in getDefaultPangoLayout()
349 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
374 int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, bool includePartialGlyp… in offsetForPositionForComplexText()
402 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int… in selectionRectForComplexText()

1234