/third_party/skia/src/gpu/geometry/ |
D | GrStyledShape.cpp | 16 fStyle = that.fStyle; in operator =() 53 SkASSERT(result.fStyle.isSimpleFill()); in MakeFilled() 82 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds() 87 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds() 269 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 286 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 311 result.fStyle = style; in MakeArc() 320 , fStyle(that.fStyle) in GrStyledShape() 342 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrStyledShape() 360 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrStyledShape() [all …]
|
D | GrStyledShape.h | 72 : fShape(path), fStyle(style) { in fShape() 80 : fShape(rrect), fStyle(style) { in fShape() 89 , fStyle(style) { in fShape() 99 : fShape(rect), fStyle(style) { in fShape() 133 const GrStyle& style() const { return fStyle; } in style() 167 fShape.asPath(out, fStyle.isSimpleFill()); in asPath() 194 return fShape.convex(fStyle.isSimpleFill()); in knownToBeConvex() 304 GrStyle fStyle; variable
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrShape.cpp | 13 fStyle = that.fStyle; in operator =() 170 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds() 175 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds() 335 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 352 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 381 result.fStyle = style; in MakeArc() 386 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) { in GrShape() 427 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrShape() 443 SkStrokeRec strokeRec = parent.fStyle.strokeRec(); in GrShape() 444 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect, in GrShape() [all …]
|
D | GrShape.h | 50 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() 55 GrShape(const SkRRect& rrect, const GrStyle& style) : fStyle(style) { in GrShape() 66 : fStyle(style) { in GrShape() 84 GrShape(const SkRect& rect, const GrStyle& style) : fStyle(style) { in GrShape() 93 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() 98 GrShape(const SkRRect& rrect, const SkPaint& paint) : fStyle(paint) { in GrShape() 102 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, fStyle.hasPathEffect(), in GrShape() 107 GrShape(const SkRect& rect, const SkPaint& paint) : fStyle(paint) { in GrShape() 111 fRRectData.fStart = DefaultRectDirAndStartIndex(rect, fStyle.hasPathEffect(), in GrShape() 143 const GrStyle& style() const { return fStyle; } in style() [all …]
|
/third_party/skia/modules/skottie/tests/ |
D | Text.cpp | 84 { "fName" : "f1", "fFamily": "f1", "fStyle" : "Regular" }, in DEF_TEST() 85 { "fName" : "f2", "fFamily": "f2", "fStyle" : "Medium" }, in DEF_TEST() 86 { "fName" : "f3", "fFamily": "f3", "fStyle" : "Bold" }, in DEF_TEST() 87 { "fName" : "f4", "fFamily": "f4", "fStyle" : "Light" }, in DEF_TEST() 88 { "fName" : "f5", "fFamily": "f5", "fStyle" : "Extra" }, in DEF_TEST() 89 { "fName" : "f6", "fFamily": "f6", "fStyle" : "ExtraBold" }, in DEF_TEST() 91 { "fName" : "f7" , "fFamily": "f7" , "fStyle" : "Regular Italic" }, in DEF_TEST() 92 { "fName" : "f8" , "fFamily": "f8" , "fStyle" : "Medium Italic" }, in DEF_TEST() 93 { "fName" : "f9" , "fFamily": "f9" , "fStyle" : "Bold Italic" }, in DEF_TEST() 94 { "fName" : "f10", "fFamily": "f10", "fStyle" : "Light Oblique" }, in DEF_TEST() [all …]
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 79 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in operator ()() 80 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in operator ()() 81 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in operator ()() 82 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in operator ()() 83 if (ph.fStyle.fAlignment == PlaceholderAlignment::kBaseline) { in operator ()() 84 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in operator ()() 89 if (ts.fStyle.isPlaceholder()) { in operator ()() 92 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in operator ()() 93 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getWordSpacing()))); in operator ()() 94 hash = mix(hash, SkGoodHash()(ts.fStyle.getLocale())); in operator ()() [all …]
|
D | OneLineShaper.cpp | 212 block.fStyle.getHalfLeading(), in finish() 213 block.fStyle.getBaselineShift(), in finish() 434 for (auto& ff : block.fStyle.getFontFeatures()) { in iterateThroughFontStyles() 457 if (block.fStyle.matchOneAttribute(StyleType::kFont, combinedBlock.fStyle)) { in iterateThroughFontStyles() 467 combinedBlock.fStyle = block.fStyle; in iterateThroughFontStyles() 602 SkPoint::Make(placeholder.fStyle.fWidth, placeholder.fStyle.fHeight), in iterateThroughShapingRegions() 618 advanceX += placeholder.fStyle.fWidth; in iterateThroughShapingRegions() 646 fHeight = block.fStyle.getHeightOverride() ? block.fStyle.getHeight() : 0; in shape() 647 fUseHalfLeading = block.fStyle.getHalfLeading(); in shape() 648 fBaselineShift = block.fStyle.getBaselineShift(); in shape() [all …]
|
D | Iterators.h | 32 fCurrentLocale = fCurrentStyle->fStyle.getLocale(); in consume() 33 while (++fCurrentStyle != fTextStyles.end() && !fCurrentStyle->fStyle.isPlaceholder()) { in consume() 34 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) { in consume()
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | TextStyle.h | 51 TextDecorationStyle fStyle; member 57 this->fStyle == other.fStyle && 95 TextDecorationStyle getDecorationStyle() const { return fDecoration.fStyle; } in getDecorationStyle() 100 void setDecorationStyle(TextDecorationStyle style) { fDecoration.fStyle = style; } in setDecorationStyle() 178 Block() : fRange(EMPTY_RANGE), fStyle() { } in Block() 180 : fRange(start, end), fStyle(style) {} in Block() 182 : fRange(textRange), fStyle(style) {} in Block() 189 TextStyle fStyle; member
|
/third_party/skia/modules/skparagraph/include/ |
D | TextStyle.h | 71 TextDecorationStyle fStyle; member 78 this->fStyle == other.fStyle && 183 TextDecorationStyle getDecorationStyle() const { return fDecoration.fStyle; } in getDecorationStyle() 189 void setDecorationStyle(TextDecorationStyle style) { fDecoration.fStyle = style; } in setDecorationStyle() 301 Block(size_t start, size_t end, const TextStyle& style) : fRange(start, end), fStyle(style) {} in Block() 302 Block(TextRange textRange, const TextStyle& style) : fRange(textRange), fStyle(style) {} in Block() 310 TextStyle fStyle; member 324 , fStyle(style) in Placeholder() 330 PlaceholderStyle fStyle; member
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | reldatefmt.cpp | 79 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 82 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 86 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 127 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 128 int32_t style = fStyle; in getAbsoluteUnitString() 139 int32_t fStyle, in getRelativeUnitFormatter() argument 156 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 161 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 165 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 717 fStyle(UDAT_STYLE_LONG), in RelativeDateTimeFormatter() [all …]
|
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == NULL || fStyle == NULL) { in ScientificNumberFormatter() 266 fStyle(NULL) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
/third_party/skia/tools/fonts/ |
D | TestFontMgr.cpp | 32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry() 34 SkFontStyle fStyle; member 42 *style = fTypefaces[index].fStyle; in getStyle() 68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr() 78 std::move(typeface), sub.fStyle, sub.fStyleName); in FontMgr() 91 sub.fStyle, in FontMgr()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == NULL || fStyle == NULL) { in ScientificNumberFormatter() 266 fStyle(NULL) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
D | reldatefmt.cpp | 84 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 87 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 91 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 132 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 133 int32_t style = fStyle; in getAbsoluteUnitString() 144 int32_t fStyle, in getRelativeUnitFormatter() argument 161 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 166 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 171 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 753 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == NULL || fStyle == NULL) { in ScientificNumberFormatter() 266 fStyle(NULL) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
D | reldatefmt.cpp | 84 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 87 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 91 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 132 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 133 int32_t style = fStyle; in getAbsoluteUnitString() 144 int32_t fStyle, in getRelativeUnitFormatter() argument 161 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 166 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 171 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 753 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == NULL || fStyle == NULL) { in ScientificNumberFormatter() 266 fStyle(NULL) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
D | reldatefmt.cpp | 84 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 87 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 91 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 132 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 133 int32_t style = fStyle; in getAbsoluteUnitString() 144 int32_t fStyle, in getRelativeUnitFormatter() argument 161 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 166 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 171 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 753 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/third_party/flutter/skia/tools/fonts/ |
D | TestFontMgr.cpp | 32 : fTypeface(std::move(typeface)), fStyle(style), fStyleName(styleName) {} in TypefaceEntry() 34 SkFontStyle fStyle; member 42 *style = fTypefaces[index].fStyle; in getStyle() 68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr() 78 std::move(typeface), sub.fStyle, sub.fStyleName); in FontMgr() 91 sub.fStyle, in FontMgr()
|
/third_party/flutter/skia/src/core/ |
D | SkMaskCache.cpp | 25 , fStyle(style) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 33 int32_t fStyle; member 104 , fStyle(style) in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 124 int32_t fStyle; member
|
/third_party/skia/src/core/ |
D | SkMaskCache.cpp | 25 , fStyle(style) in RRectBlurKey() 29 sizeof(fSigma) + sizeof(fStyle) + sizeof(fRRect)); in RRectBlurKey() 33 int32_t fStyle; member 104 , fStyle(style) in RectsBlurKey() 120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey() 124 int32_t fStyle; member
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 61 hash = mix(hash, SkGoodHash()(ts.fStyle.getLetterSpacing())); in operator ()() 62 hash = mix(hash, SkGoodHash()(ts.fStyle.getWordSpacing())); in operator ()() 102 if (tsa.fStyle.getLetterSpacing() != tsb.fStyle.getLetterSpacing()) { in operator ==() 105 if (tsa.fStyle.getWordSpacing() != tsb.fStyle.getWordSpacing()) { in operator ==()
|
/third_party/flutter/skia/include/core/ |
D | SkTypeface.h | 49 return fStyle; in fontStyle() 53 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; } in isBold() 56 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; } in isItalic() 362 void setFontStyle(SkFontStyle style) { fStyle = style; } in setFontStyle() 442 SkFontStyle fStyle; variable
|
/third_party/skia/include/core/ |
D | SkTypeface.h | 49 return fStyle; in fontStyle() 53 bool isBold() const { return fStyle.weight() >= SkFontStyle::kSemiBold_Weight; } in isBold() 56 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; } in isItalic() 358 void setFontStyle(SkFontStyle style) { fStyle = style; } in setFontStyle() 447 SkFontStyle fStyle; variable
|