/external/chromium_org/ui/gfx/ |
D | render_text_win.h | 22 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_;
|
D | render_text_mac.h | 53 struct TextRun { struct 67 TextRun(); argument 68 ~TextRun(); 92 std::vector<TextRun> runs_;
|
D | render_text_win.cc | 137 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 …]
|
D | render_text_mac.cc | 168 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/ |
D | TextRun.cpp | 39 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()
|
D | TextRun.h | 43 class PLATFORM_EXPORT TextRun { 63 …TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expan… 83 …TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expan… 103 …TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBeha… 131 …TextRun(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 …]
|
D | TextRunIterator.h | 44 TextRunIterator(const TextRun* textRun, unsigned offset) in TextRunIterator() 71 const TextRun* m_textRun;
|
D | BidiResolverTest.cpp | 49 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/ |
D | Font.h | 56 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 …]
|
D | WidthIterator.h | 38 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;
|
D | Font.cpp | 205 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/ |
D | RenderBlockFlow.h | 127 static TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, 128 …TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion, Te… 130 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle… 131 … TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); 133 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned of… 134 … TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); 136 …static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned of… 137 … TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); 139 …static TextRun constructTextRun(RenderObject* context, const Font&, const LChar* characters, int l… 140 … TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion); [all …]
|
D | InlineTextBox.h | 109 …TextRun constructTextRun(RenderStyle*, const Font&, StringBuilder* charactersWithHyphen = 0) const; 110 …TextRun 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()
|
D | RenderFileUploadControl.cpp | 108 …TextRun 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/ |
D | WebTextRun.cpp | 40 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/ |
D | SVGTextRunRenderingContext.h | 32 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…
|
D | SVGTextRunRenderingContext.cpp | 62 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()
|
D | SVGInlineTextBox.h | 66 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…
|
D | SVGTextMetrics.h | 29 class TextRun; variable 42 static TextRun constructTextRun(RenderSVGInlineText*, unsigned position, unsigned length); 67 SVGTextMetrics(RenderSVGInlineText*, const TextRun&);
|
D | SVGTextMetrics.cpp | 43 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()
|
D | SVGInlineTextBox.cpp | 96 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/ |
D | WebTextRun.h | 37 namespace WebCore { class TextRun; } variable 62 operator WebCore::TextRun() const;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | UniscribeHelperTextRun.h | 40 class TextRun; variable 47 UniscribeHelperTextRun(const TextRun&, const Font&);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontComplexTextMac.cpp | 48 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()
|
D | ComplexTextController.h | 46 class TextRun; variable 54 …ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, Has… 142 const TextRun& m_run;
|