12 style->setStrutEnabled(
true);
23 std::vector<SkString> families;
24 families.reserve(
count);
26 families.push_back(*fontFamilies[
i]);
57 bool forceStrutHeight) {
void setHalfLeading(bool halfLeading)
void setFontFamilies(std::vector< SkString > families)
void setFontStyle(SkFontStyle fontStyle)
void setHeight(SkScalar height)
void setForceStrutHeight(bool v)
void setHeightOverride(bool v)
void setLeading(SkScalar Leading)
void setFontSize(SkScalar size)
SKWASM_EXPORT StrutStyle * strutStyle_create()
SKWASM_EXPORT void strutStyle_setHeight(StrutStyle *style, SkScalar height)
SKWASM_EXPORT void strutStyle_setFontSize(StrutStyle *style, SkScalar fontSize)
SKWASM_EXPORT void strutStyle_setLeading(StrutStyle *style, SkScalar leading)
SKWASM_EXPORT void strutStyle_setFontStyle(StrutStyle *style, int weight, SkFontStyle::Slant slant)
SKWASM_EXPORT void strutStyle_setFontFamilies(StrutStyle *style, SkString **fontFamilies, int count)
SKWASM_EXPORT void strutStyle_setForceStrutHeight(StrutStyle *style, bool forceStrutHeight)
SKWASM_EXPORT void strutStyle_setHalfLeading(StrutStyle *style, bool halfLeading)
SKWASM_EXPORT void strutStyle_dispose(StrutStyle *style)