Home
last modified time | relevance | path

Searched refs:dstStyle (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/ports/skia_ohos/
H A DFontConfig_ohos.cpp279 * \param dstStyle the style to be matching
283 uint32_t FontConfig_OHOS::getFontStyleDifference(const SkFontStyle& dstStyle, in getFontStyleDifference() argument
287 int dstWidth = dstStyle.width(); in getFontStyleDifference()
311 if (dstStyle.slant() < 0 || dstStyle.slant() >= SLANT_RANGE || in getFontStyleDifference()
313 LOGE("Slant out of range, dst:%{public}d, src:%{public}d", dstStyle.slant(), srcStyle.slant()); in getFontStyleDifference()
316 uint32_t slantDiff = diffSlantValue[dstStyle.slant()][srcStyle.slant()]; in getFontStyleDifference()
318 int dstWeight = dstStyle.weight(); in getFontStyleDifference()

Completed in 3 milliseconds