/third_party/skia/modules/canvaskit/ |
D | paragraph.js | 262 CanvasKit.ParagraphBuilder.Make = function(paragraphStyle, fontManager) { argument 263 copyArrays(paragraphStyle['textStyle']); 265 var result = CanvasKit.ParagraphBuilder._Make(paragraphStyle, fontManager); 266 freeArrays(paragraphStyle['textStyle']); 270 CanvasKit.ParagraphBuilder.MakeFromFontProvider = function(paragraphStyle, fontProvider) { argument 271 copyArrays(paragraphStyle['textStyle']); 273 … var result = CanvasKit.ParagraphBuilder._MakeFromFontProvider(paragraphStyle, fontProvider); 274 freeArrays(paragraphStyle['textStyle']);
|
/third_party/flutter/skia/tests/ |
D | SkParagraphTest.cpp | 568 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in DEF_TEST() 662 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in DEF_TEST() 749 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in DEF_TEST() 837 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in DEF_TEST() 1329 ParagraphStyle paragraphStyle; in DEF_TEST() local 1330 paragraphStyle.setTextAlign(TextAlign::kLeft); in DEF_TEST() 1331 paragraphStyle.setMaxLines(10); in DEF_TEST() 1332 paragraphStyle.turnHintingOff(); in DEF_TEST() 1343 ParagraphBuilderImpl builder(paragraphStyle, fontCollection); in DEF_TEST() 1393 ParagraphStyle paragraphStyle; in DEF_TEST() local [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleParagraph.cpp | 977 ParagraphStyle paragraphStyle; in drawText() local 978 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText() 979 paragraphStyle.setMaxLines(10); in drawText() 980 paragraphStyle.turnHintingOff(); in drawText() 989 ParagraphBuilderImpl builder(paragraphStyle, getFontCollection()); in drawText() 1047 ParagraphStyle paragraphStyle; in drawText() local 1048 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText() 1049 paragraphStyle.setMaxLines(10); in drawText() 1050 paragraphStyle.turnHintingOff(); in drawText() 1059 ParagraphBuilderImpl builder(paragraphStyle, getFontCollection()); in drawText() [all …]
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphImpl.h | 82 const ParagraphStyle& paragraphStyle() const { return fParagraphStyle; } in paragraphStyle() function 102 bool strutEnabled() const { return paragraphStyle().getStrutStyle().getStrutEnabled(); } in strutEnabled() 104 return paragraphStyle().getStrutStyle().getForceStrutHeight(); in strutForceHeight() 107 return paragraphStyle().getStrutStyle().getHeightOverride(); in strutHeightOverride()
|
D | TextWrapper.cpp | 145 auto maxLines = parent->paragraphStyle().getMaxLines(); in breakTextIntoLines() 146 auto& ellipsisStr = parent->paragraphStyle().getEllipsis(); in breakTextIntoLines() 147 auto align = parent->paragraphStyle().getTextAlign(); in breakTextIntoLines()
|
D | ParagraphImpl.cpp | 150 …LineMetrics lineMetrics(font.currentFont(), paragraphStyle().getStrutStyle().getForceStrutHeight()… in layout() 373 LangIterator lang(fTextSpan, styles(), paragraphStyle().getTextStyle()); in shapeTextIntoEndlessLine() 456 auto strutStyle = this->paragraphStyle().getStrutStyle(); in resolveStrut() 602 auto paragraphTextDirection = paragraphStyle().getTextDirection(); in getRectsForRange() 653 auto strutStyle = this->paragraphStyle().getStrutStyle(); in getRectsForRange()
|
D | ParagraphCache.cpp | 14 , fParagraphStyle(paragraph->paragraphStyle()) { } in ParagraphCacheKey()
|
D | TextLine.cpp | 150 if (this->fMaster->paragraphStyle().getTextAlign() != TextAlign::kJustify) { in assumedTextAlign() 151 return this->fMaster->paragraphStyle().effective_align(); in assumedTextAlign()
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphImpl.h | 143 const ParagraphStyle& paragraphStyle() const { return fParagraphStyle; } 154 bool strutEnabled() const { return paragraphStyle().getStrutStyle().getStrutEnabled(); } 156 return paragraphStyle().getStrutStyle().getForceStrutHeight(); 159 return paragraphStyle().getStrutStyle().getHeightOverride();
|
D | TextWrapper.cpp | 272 auto maxLines = parent->paragraphStyle().getMaxLines(); in breakTextIntoLines() 273 auto align = parent->paragraphStyle().effective_align(); in breakTextIntoLines() 276 auto hasEllipsis = parent->paragraphStyle().ellipsized(); in breakTextIntoLines() 278 …auto disableFirstAscent = parent->paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::k… in breakTextIntoLines() 279 …auto disableLastDescent = parent->paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::k… in breakTextIntoLines()
|
D | ParagraphImpl.cpp | 583 auto strutStyle = this->paragraphStyle().getStrutStyle(); in resolveStrut() 612 fStrutMetrics.setForceStrut(this->paragraphStyle().getStrutStyle().getForceStrutHeight()); in resolveStrut() 898 TextStyle textStyle = paragraphStyle().getTextStyle(); in computeEmptyMetrics() 908 … fEmptyMetrics = InternalLineMetrics(font, paragraphStyle().getStrutStyle().getForceStrutHeight()); in computeEmptyMetrics() 910 if (!paragraphStyle().getStrutStyle().getForceStrutHeight() && in computeEmptyMetrics() 914 if (paragraphStyle().getStrutStyle().getHalfLeading()) { in computeEmptyMetrics() 932 …auto disableFirstAscent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisable… in computeEmptyMetrics() 933 …auto disableLastDescent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisable… in computeEmptyMetrics()
|
D | TextLine.cpp | 254 } else if (fOwner->paragraphStyle().getTextDirection() == TextDirection::kRtl) { in format() 985 auto paragraphStyle = fOwner->paragraphStyle(); in getRectsForRange() local 1021 const auto& strutStyle = paragraphStyle.getStrutStyle(); in getRectsForRange() 1055 if (paragraphStyle.getTextAlign() == TextAlign::kJustify && isLastLine()) in getRectsForRange() 1066 } else if (paragraphStyle.getTextDirection() == TextDirection::kRtl && in getRectsForRange() 1074 } else if (paragraphStyle.getTextDirection() == TextDirection::kLtr && in getRectsForRange() 1120 boxes.emplace_back(trailingSpaces, paragraphStyle.getTextDirection()); in getRectsForRange()
|
D | ParagraphCache.cpp | 32 , fParagraphStyle(paragraph->paragraphStyle()) { } in ParagraphCacheKey()
|
D | OneLineShaper.cpp | 688 fParagraph->paragraphStyle().getTextStyle()); in shape()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 1644 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST() 1738 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST() 1825 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST() 1912 paragraph_style.getTextAlign() == impl->paragraphStyle().getTextAlign()); in UNIX_ONLY_TEST() 2526 ParagraphStyle paragraphStyle; in UNIX_ONLY_TEST() local 2527 paragraphStyle.setTextAlign(TextAlign::kLeft); in UNIX_ONLY_TEST() 2528 paragraphStyle.setMaxLines(10); in UNIX_ONLY_TEST() 2529 paragraphStyle.turnHintingOff(); in UNIX_ONLY_TEST() 2540 ParagraphBuilderImpl builder(paragraphStyle, fontCollection); in UNIX_ONLY_TEST() 2590 ParagraphStyle paragraphStyle; in UNIX_ONLY_TEST() local [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | error.dart | 25 /// [RenderErrorBox.textStyle] and [RenderErrorBox.paragraphStyle] static 46 final ui.ParagraphBuilder builder = ui.ParagraphBuilder(paragraphStyle); 97 static ui.ParagraphStyle paragraphStyle = ui.ParagraphStyle(
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | engine_canvas.dart | 248 final html.CssStyleDeclaration paragraphStyle = paragraphElement.style; 249 paragraphStyle 258 paragraphStyle 269 paragraphStyle
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 983 ParagraphStyle paragraphStyle; in drawText() local 984 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText() 985 paragraphStyle.setMaxLines(10); in drawText() 986 paragraphStyle.turnHintingOff(); in drawText() 995 ParagraphBuilderImpl builder(paragraphStyle, getFontCollection()); in drawText() 1053 ParagraphStyle paragraphStyle; in drawText() local 1054 paragraphStyle.setTextAlign(TextAlign::kLeft); in drawText() 1055 paragraphStyle.setMaxLines(10); in drawText() 1056 paragraphStyle.turnHintingOff(); in drawText() 1065 ParagraphBuilderImpl builder(paragraphStyle, getFontCollection()); in drawText() [all …]
|