Home
last modified time | relevance | path

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

123

/external/chromium_org/ui/gfx/
Drender_text_win.h22 struct TextRun { struct
23 TextRun();
24 ~TextRun();
54 DISALLOW_COPY_AND_ASSIGN(TextRun); argument
96 void LayoutTextRun(internal::TextRun* run);
100 HRESULT ShapeTextRunWithFont(internal::TextRun* run, const Font& font);
103 int CountCharsWithMissingGlyphs(internal::TextRun* run) const;
113 SelectionModel FirstSelectionModelInsideRun(const internal::TextRun* run);
114 SelectionModel LastSelectionModelInsideRun(const internal::TextRun* run);
126 ScopedVector<internal::TextRun> runs_;
Drender_text_mac.h53 struct TextRun { struct
67 TextRun(); argument
68 ~TextRun();
92 std::vector<TextRun> runs_;
Drender_text_win.cc137 Range CharRangeToGlyphRange(const internal::TextRun& run, in CharRangeToGlyphRange()
170 const internal::TextRun& run, in BreakRunAtWidth()
231 const ScopedVector<internal::TextRun>& runs) { in CheckLineIntegrity()
238 internal::TextRun* run = runs[segment->run]; in CheckLineIntegrity()
270 TextRun::TextRun() in TextRun() function in gfx::internal::TextRun
283 TextRun::~TextRun() { in ~TextRun()
289 int GetGlyphXBoundary(const internal::TextRun* run, in GetGlyphXBoundary()
324 const ScopedVector<TextRun>& runs) in LineBreaker()
341 const TextRun* run = runs_[run_index]; in AddRun()
380 const TextRun* const run = runs_[run_index]; in BreakRun()
[all …]
Drender_text_mac.cc168 const TextRun& run = runs_[i]; in DrawVisualText()
179 RenderTextMac::TextRun::TextRun() in TextRun() function in gfx::RenderTextMac::TextRun
191 RenderTextMac::TextRun::~TextRun() { in ~TextRun()
275 runs_.push_back(TextRun()); in ComputeRuns()
276 TextRun* run = &runs_.back(); in ComputeRuns()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextRun.cpp39 RefPtr<TextRun::RenderingContext> renderingContext;
42 COMPILE_ASSERT(sizeof(TextRun) == sizeof(ExpectedTextRunSize), TextRun_is_not_of_expected_size);
44 bool TextRun::s_allowsRoundingHacks = false;
46 void TextRun::setAllowsRoundingHacks(bool allowsRoundingHacks) in setAllowsRoundingHacks()
51 void TextRun::setText(const String& string) in setText()
66 bool TextRun::allowsRoundingHacks() in allowsRoundingHacks()
DTextRun.h43 class PLATFORM_EXPORT TextRun {
63TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expan…
83TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expan…
103TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBeha…
131TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansion…
159 TextRun subRun(unsigned startOffset, unsigned length) const in subRun()
163 TextRun result = *this; in subRun()
220 …virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 chara…
221 …virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuf…
222 …virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, String& glyp…
[all …]
DTextRunIterator.h44 TextRunIterator(const TextRun* textRun, unsigned offset) in TextRunIterator()
71 const TextRun* m_textRun;
DBidiResolverTest.cpp49 TextRun run(value); in TEST()
58 TextDirection determineParagraphDirectionality(const TextRun& textRun, bool* hasStrongDirectionalit… in determineParagraphDirectionality()
77 TextRun run(data); in testDirectionality()
178 TextRun textRun(input.data(), input.size()); in runTest()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.h56 class TextRun; variable
104 …float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0)…
105 float width(const TextRun&, int& charsConsumed, String& glyphName) const;
107 …PassOwnPtr<TextLayout> createLayoutForMacComplexText(const TextRun&, unsigned textLength, float xP…
111 int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const;
112 …FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1…
166 CodePath codePath(const TextRun&) const;
174 …float getGlyphsAndAdvancesForSimpleText(const TextRun&, int from, int to, GlyphBuffer&, ForTextEmp…
180 …float floatWidthForSimpleText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, G…
181 …int offsetForPositionForSimpleText(const TextRun&, float position, bool includePartialGlyphs) cons…
[all …]
DWidthIterator.h38 class TextRun; variable
44 …WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool…
54 const TextRun& run() const { return m_run; } in run()
71 const TextRun& m_run;
DFont.cpp205 float Font::width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*… in width()
234 float Font::width(const TextRun& run, int& charsConsumed, String& glyphName) const in width()
237 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) in width()
248 PassOwnPtr<TextLayout> Font::createLayoutForMacComplexText(const TextRun&, unsigned, float, bool) c… in createLayoutForMacComplexText() argument
266 FloatRect Font::selectionRectForText(const TextRun& run, const FloatPoint& point, int h, int from, … in selectionRectForText()
281 int Font::offsetForPosition(const TextRun& run, float x, bool includePartialGlyphs) const in offsetForPosition()
345 Font::CodePath Font::codePath(const TextRun& run) const in codePath()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlockFlow.h127 static TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*,
128TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, Te…
130 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle…
131TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion);
133 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned of…
134TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion);
136 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned of…
137TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion);
139 …static TextRun constructTextRun(RenderObject* context, const Font&, const LChar* characters, int l…
140TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion);
[all …]
DInlineTextBox.h109TextRun constructTextRun(RenderStyle*, const Font&, StringBuilder* charactersWithHyphen = 0) const;
110TextRun constructTextRun(RenderStyle*, const Font&, StringView, int maximumLength, StringBuilder* …
113 TextRun constructTextRunForInspector(RenderStyle*, const Font&) const;
189 TextRun::ExpansionBehavior expansionBehavior() const in expansionBehavior()
191 …return (canHaveLeadingExpansion() ? TextRun::AllowLeadingExpansion : TextRun::ForbidLeadingExpansi… in expansionBehavior()
192 …| (expansion() && nextLeafChild() ? TextRun::AllowTrailingExpansion : TextRun::ForbidTrailingExpan… in expansionBehavior()
DRenderFileUploadControl.cpp108TextRun textRun = constructTextRun(this, font, displayedFilename, style(), TextRun::AllowTrailingE… in paintObject()
158 … font.width(constructTextRun(renderer, font, characterAsString, style(), TextRun::AllowTrailingExp… in computeIntrinsicLogicalWidths()
161 …float defaultLabelWidth = font.width(constructTextRun(renderer, font, label, style(), TextRun::All… in computeIntrinsicLogicalWidths()
/external/chromium_org/third_party/WebKit/Source/web/
DWebTextRun.cpp40 WebTextRun::operator WebCore::TextRun() const in operator WebCore::TextRun()
42 … return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride); in operator WebCore::TextRun()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextRunRenderingContext.h32 class SVGTextRunRenderingContext : public TextRun::RenderingContext {
45 …virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 chara…
46 …virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuf…
47 …virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, String& glyp…
DSVGTextRunRenderingContext.cpp62 static inline RenderObject* renderObjectFromRun(const TextRun& run) in renderObjectFromRun()
64 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) in renderObjectFromRun()
69 static inline RenderSVGResource* activePaintingResourceFromRun(const TextRun& run) in activePaintingResourceFromRun()
71 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) in activePaintingResourceFromRun()
76 float SVGTextRunRenderingContext::floatWidthUsingSVGFont(const Font& font, const TextRun& run, int&… in floatWidthUsingSVGFont()
85 void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const … in drawSVGGlyphs()
172 GlyphData SVGTextRunRenderingContext::glyphDataForCharacter(const Font& font, const TextRun& run, W… in glyphDataForCharacter()
196 if (TextRun::RenderingContext* renderingContext = run.renderingContext()) { in glyphDataForCharacter()
DSVGInlineTextBox.h66 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const;
71 …bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float scalingFactor, TextRun&, Rende…
72 void restoreGraphicsContextAfterTextPainting(GraphicsContext*&, TextRun&);
76 …void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int st…
DSVGTextMetrics.h29 class TextRun; variable
42 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length);
67 SVGTextMetrics(RenderSVGInlineText*, const TextRun&);
DSVGTextMetrics.cpp43 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run) in SVGTextMetrics()
64 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned len… in constructTextRun()
69 TextRun run(static_cast<const LChar*>(0) // characters, will be set below if non-zero. in constructTextRun()
73 , TextRun::AllowTrailingExpansion in constructTextRun()
DSVGInlineTextBox.cpp96 TextRun textRun = constructTextRun(style, fragment); in offsetForPositionInFragment()
412 …csContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderS… in prepareGraphicsContextForTextPainting()
420 TextRun::RenderingContext* renderingContext = textRun.renderingContext(); in prepareGraphicsContextForTextPainting()
428 void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& … in restoreGraphicsContextAfterTextPainting()
433 TextRun::RenderingContext* renderingContext = textRun.renderingContext(); in restoreGraphicsContextAfterTextPainting()
439 TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFragment& fragment) con… in constructTextRun()
451 TextRun run(static_cast<const LChar*>(0) // characters, will be set below if non-zero. in constructTextRun()
455 , TextRun::AllowTrailingExpansion in constructTextRun()
615 void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyle* style, TextRun& … in paintTextWithShadows()
679 TextRun textRun = constructTextRun(style, fragment); in paintText()
[all …]
/external/chromium_org/third_party/WebKit/public/web/
DWebTextRun.h37 namespace WebCore { class TextRun; } variable
62 operator WebCore::TextRun() const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DUniscribeHelperTextRun.h40 class TextRun; variable
47 UniscribeHelperTextRun(const TextRun&, const Font&);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontComplexTextMac.cpp48 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, in selectionRectForComplexText()
71 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& g… in getGlyphsAndAdvancesForComplexText()
130 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
147 int Font::offsetForPositionForComplexText(const TextRun& run, float x, bool includePartialGlyphs) c… in offsetForPositionForComplexText()
DComplexTextController.h46 class TextRun; variable
54 …ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, Has…
142 const TextRun& m_run;

123