Home
last modified time | relevance | path

Searched refs:fParagraphStyle (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DParagraphCache.cpp35 , fParagraphStyle(paragraph->paragraphStyle()) { in ParagraphCacheKey()
45 , fParagraphStyle(std::move(other.fParagraphStyle)) in ParagraphCacheKey()
63 ParagraphStyle fParagraphStyle; member in skia::textlayout::ParagraphCacheKey
142 hash = mix(hash, SkGoodHash()(relax(fParagraphStyle.getHeight()))); in computeHash()
143 hash = mix(hash, SkGoodHash()(fParagraphStyle.getTextDirection())); in computeHash()
144 hash = mix(hash, SkGoodHash()(fParagraphStyle.getReplaceTabCharacters() ? 1 : 0)); in computeHash()
146 auto& strutStyle = fParagraphStyle.getStrutStyle(); in computeHash()
182 if (!exactlyEqual(fParagraphStyle.getHeight(), other.fParagraphStyle.getHeight())) { in operator ==()
185 if (fParagraphStyle.getTextDirection() != other.fParagraphStyle.getTextDirection()) { in operator ==()
189 if (!(fParagraphStyle.getStrutStyle() == other.fParagraphStyle.getStrutStyle())) { in operator ==()
[all …]
DParagraphImpl.cpp57 , fParagraphStyle(std::move(style)) in Paragraph()
198 if (measureWidth >= fOldMaxWidth || fParagraphStyle.getTextOverflower()) { in scanRTLTextCutPoint()
228 if (measureWidth >= fOldMaxWidth || fParagraphStyle.getTextOverflower()) { in scanLTRTextCutPoint()
258 if (fParagraphStyle.getMaxLines() == 1 && in layout()
259 fParagraphStyle.getEllipsisMod() == EllipsisModal::MIDDLE) { in layout()
267 if (fParagraphStyle.getMaxLines() == 0) { in layout()
309 if (fParagraphStyle.getStrutStyle().getStrutEnabled() && in layout()
310 fParagraphStyle.getStrutStyle().getForceStrutHeight()) { in layout()
313 if (fParagraphStyle.getMaxLines() == 0) { in layout()
333 if (fParagraphStyle.getMaxLines() == 1 && in layout()
[all …]
DParagraphBuilderImpl.cpp42 , fParagraphStyle(style) in ParagraphBuilderImpl()
83 return fParagraphStyle.getTextStyle(); in internalPeekStyle()
199 fUtf8, fParagraphStyle, fStyledBlocks, fPlaceholders, fFontCollection, fUnicode); in Build()
208 return fParagraphStyle; in getParagraphStyle()
DOneLineShaper.cpp366 if (fParagraph->fParagraphStyle.getMaxLines() == 1 && in generateBlockRange()
367 fParagraph->fParagraphStyle.getEllipsisMod() == EllipsisModal::MIDDLE && in generateBlockRange()
540 if (fParagraph->fParagraphStyle.getMaxLines() == 1 in iterateThroughShapingRegions()
541 && fParagraph->fParagraphStyle.getEllipsisMod() == EllipsisModal::MIDDLE in iterateThroughShapingRegions()
DParagraphBuilderImpl.h103 ParagraphStyle fParagraphStyle; variable
DParagraphImpl.h144 const ParagraphStyle& paragraphStyle() const { return fParagraphStyle; } in paragraphStyle()
252 SkScalar getTextSplitRatio() const override { return fParagraphStyle.getTextSplitRatio(); } in getTextSplitRatio()
/third_party/skia/modules/skparagraph/include/
DParagraph.h187 ParagraphStyle fParagraphStyle; variable