/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/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 | 111 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in computeHash() 112 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in computeHash() 113 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in computeHash() 114 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in computeHash() 115 if (ph.fStyle.fAlignment == PlaceholderAlignment::kBaseline) { in computeHash() 116 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in computeHash() 121 if (ts.fStyle.isPlaceholder()) { in computeHash() 124 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in computeHash() 125 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getWordSpacing()))); in computeHash() 126 hash = mix(hash, SkGoodHash()(ts.fStyle.getLocale())); in computeHash() [all …]
|
D | OneLineShaper.cpp | 216 block.fStyle.getHalfLeading(), in finish() 217 block.fStyle.getBaselineShift(), in finish() 381 for (auto& ff : block.fStyle.getFontFeatures()) { in iterateThroughFontStyles() 395 if (block.fStyle.getLetterSpacing() > 0) { in iterateThroughFontStyles() 410 if (block.fStyle.matchOneAttribute(StyleType::kFont, combinedBlock.fStyle)) { in iterateThroughFontStyles() 420 combinedBlock.fStyle = block.fStyle; in iterateThroughFontStyles() 616 SkPoint::Make(placeholder.fStyle.fWidth, placeholder.fStyle.fHeight), 633 advanceX += placeholder.fStyle.fWidth; 661 fHeight = block.fStyle.getHeightOverride() ? block.fStyle.getHeight() : 0; 662 fUseHalfLeading = block.fStyle.getHalfLeading(); [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/skia/modules/skparagraph/include/ |
D | TextStyle.h | 81 TextDecorationStyle fStyle; member 88 this->fStyle == other.fStyle && 248 TextDecorationStyle getDecorationStyle() const { return fDecoration.fStyle; } in getDecorationStyle() 254 void setDecorationStyle(TextDecorationStyle style) { fDecoration.fStyle = style; } in setDecorationStyle() 405 Block(size_t start, size_t end, const TextStyle& style) : fRange(start, end), fStyle(style) {} in Block() 406 Block(TextRange textRange, const TextStyle& style) : fRange(textRange), fStyle(style) {} in Block() 414 TextStyle fStyle; member 428 , fStyle(style) in Placeholder() 434 PlaceholderStyle fStyle; member
|
/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()
|
D | create_test_font.cpp | 32 SkFontStyle const fStyle; member 323 const SkFontStyle& style = font.fNamedStyle.fStyle; in generate_index() 352 const SkFontStyle& style = font.fNamedStyle.fStyle; in generate_index() 367 font.fNamedStyle.fStyle.weight(), font.fNamedStyle.fStyle.width(), in generate_index() 368 slant_to_string(font.fNamedStyle.fStyle.slant()), testFontsIndex, font.fFile); in generate_index()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | scientificnumberformatter.cpp | 245 fStyle(styleToAdopt) { in ScientificNumberFormatter() 249 if (fDecimalFormat == nullptr || fStyle == nullptr) { in ScientificNumberFormatter() 266 fStyle(nullptr) { in ScientificNumberFormatter() 269 fStyle = other.fStyle->clone(); in ScientificNumberFormatter() 274 delete fStyle; in ~ScientificNumberFormatter() 287 return fStyle->format( in format()
|
D | reldatefmt.cpp | 86 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 89 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 93 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 134 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 135 int32_t style = fStyle; in getAbsoluteUnitString() 146 int32_t fStyle, in getRelativeUnitFormatter() argument 163 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 168 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 173 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 761 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/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/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 | 86 const UnicodeString& getAbsoluteUnitString(int32_t fStyle, 89 const SimpleFormatter* getRelativeUnitFormatter(int32_t fStyle, 93 const SimpleFormatter* getRelativeDateTimeUnitFormatter(int32_t fStyle, 134 int32_t fStyle, UDateAbsoluteUnit unit, UDateDirection direction) const { in getAbsoluteUnitString() argument 135 int32_t style = fStyle; in getAbsoluteUnitString() 146 int32_t fStyle, in getRelativeUnitFormatter() argument 163 return getRelativeDateTimeUnitFormatter(fStyle, rdtunit, pastFutureIndex, pluralUnit); in getRelativeUnitFormatter() 168 int32_t fStyle, in getRelativeDateTimeUnitFormatter() argument 173 int32_t style = fStyle; in getRelativeDateTimeUnitFormatter() 761 fStyle(UDAT_STYLE_LONG), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() [all …]
|
/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
|
D | SkFontDescriptor.cpp | 60 result->fStyle = SkFontStyle((styleBits >> 16) & 0xFFFF, in Deserialize() 117 uint32_t styleBits = (fStyle.weight() << 16) | (fStyle.width() << 8) | (fStyle.slant()); in serialize()
|
D | SkFontDescriptor.h | 70 SkFontStyle getStyle() const { return fStyle; } in getStyle() 71 void setStyle(SkFontStyle style) { fStyle = style; } in setStyle() 104 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() 370 void setFontStyle(SkFontStyle style) { fStyle = style; } in setFontStyle() 461 SkFontStyle fStyle; variable
|
/third_party/skia/bench/ |
D | MorphologyBench.cpp | 32 MorphologyType fStyle; member in MorphologyBench 39 fStyle = style; in MorphologyBench() 67 switch (fStyle) { in onDraw()
|
D | BlurBench.cpp | 33 SkBlurStyle fStyle; member in BlurBench 39 fStyle = bs; in BlurBench() 67 paint.setMaskFilter(SkMaskFilter::MakeBlur(fStyle, in onDraw()
|
/third_party/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 92 fStyle = style; in SkPath1DPathEffectImpl() 120 buffer.writeUInt(fStyle); in flatten() 130 SkPath1DPathEffect::Style fStyle; // copied from constructor member in SkPath1DPathEffectImpl 216 switch (fStyle) { in next()
|
/third_party/skia/gm/ |
D | blurs.cpp | 29 SkBlurStyle fStyle; member 46 if (gRecs[i].fStyle != NONE) { 47 paint.setMaskFilter(SkMaskFilter::MakeBlur(gRecs[i].fStyle,
|
/third_party/skia/samplecode/ |
D | SampleFatBits.cpp | 53 fStyle = kHair_Style; in FatBits() 97 Style getStyle() const { return fStyle; } in getStyle() 98 void setStyle(Style s) { fStyle = s; } in setStyle() 127 Style fStyle; member in FatBits 140 switch (fStyle) { in setupPaint() 242 if (fStyle == kStroke_Style) { in drawLineSkeleton()
|
/third_party/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 170 && 0 == strcmp(fStyle.c_str(), style); in matches() 282 FontStyle(this, finfo->fStyle.c_str()))); in resolveNativeTypefaces() 286 finfo->fFamily.c_str(), finfo->fStyle.c_str()); in resolveNativeTypefaces() 289 FontStyle(this, finfo->fStyle.c_str())); in resolveNativeTypefaces()
|