Searched refs:strutStyle (Results 1 – 11 of 11) sorted by relevance
111 auto& strutStyle = key.fParagraphStyle.getStrutStyle(); in operator ()() local112 if (strutStyle.getStrutEnabled()) { in operator ()()113 hash = mix(hash, SkGoodHash()(relax(strutStyle.getHeight()))); in operator ()()114 hash = mix(hash, SkGoodHash()(relax(strutStyle.getLeading()))); in operator ()()115 hash = mix(hash, SkGoodHash()(relax(strutStyle.getFontSize()))); in operator ()()116 hash = mix(hash, SkGoodHash()(strutStyle.getHeightOverride())); in operator ()()117 hash = mix(hash, SkGoodHash()(strutStyle.getFontStyle())); in operator ()()118 hash = mix(hash, SkGoodHash()(strutStyle.getForceStrutHeight())); in operator ()()119 for (auto& ff : strutStyle.getFontFamilies()) { in operator ()()
582 auto strutStyle = this->paragraphStyle().getStrutStyle(); in resolveStrut() local583 if (!strutStyle.getStrutEnabled() || strutStyle.getFontSize() < 0) { in resolveStrut()587 …SkTypeface>> typefaces = fFontCollection->findTypefaces(strutStyle.getFontFamilies(), strutStyle.g… in resolveStrut()593 SkFont font(typefaces.front(), strutStyle.getFontSize()); in resolveStrut()597 if (strutStyle.getHeightOverride()) { in resolveStrut()599 auto strutMultiplier = strutStyle.getHeight() * strutStyle.getFontSize(); in resolveStrut()603 … strutStyle.getLeading() < 0 ? 0 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()608 strutStyle.getLeading() < 0 ? 0 in resolveStrut()609 : strutStyle.getLeading() * strutStyle.getFontSize()); in resolveStrut()
1011 const auto& strutStyle = paragraphStyle.getStrutStyle(); in getRectsForRange() local1012 if (strutStyle.getStrutEnabled() in getRectsForRange()1013 && strutStyle.getFontSize() > 0) { in getRectsForRange()
90 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
72 s['strutStyle'] = strutStyle(s['strutStyle']);91 function strutStyle(s) { function
220 SimpleStrutStyle strutStyle; member238 auto ss = toStrutStyle(s.strutStyle); in toParagraphStyle()594 .field("strutStyle", &SimpleParagraphStyle::strutStyle); in EMSCRIPTEN_BINDINGS()
286 - Added `strutStyle` to `ParagraphStyle`.
285 strutStyle: { property
3435 StrutStyle strutStyle; in DEF_TEST() local3436 strutStyle.setStrutEnabled(true); in DEF_TEST()3437 strutStyle.setFontFamilies({SkString("Roboto")}); in DEF_TEST()3438 strutStyle.setFontSize(14.0); in DEF_TEST()3441 paragraphStyle.setStrutStyle(strutStyle); in DEF_TEST()3482 StrutStyle strutStyle; in DEF_TEST() local3483 strutStyle.setStrutEnabled(false); in DEF_TEST()3486 paragraphStyle.setStrutStyle(strutStyle); in DEF_TEST()
529 strutStyle: {
924 strutStyle?: StrutStyle; property