Home
last modified time | relevance | path

Searched refs:SetDoubleValueFromJS (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp212 SetDoubleValueFromJS(env, argValue, "letterSpacing", textStyle.letterSpacing); in SetTextStyleBaseType()
213 SetDoubleValueFromJS(env, argValue, "wordSpacing", textStyle.wordSpacing); in SetTextStyleBaseType()
214 SetDoubleValueFromJS(env, argValue, "baselineShift", textStyle.baseLineShift); in SetTextStyleBaseType()
215 SetDoubleValueFromJS(env, argValue, "heightScale", textStyle.heightScale); in SetTextStyleBaseType()
293 SetDoubleValueFromJS(env, argValue, "fontSize", textStyle.fontSize); in ParsePartTextStyle()
517 SetDoubleValueFromJS(env, strutStyleValue, "fontSize", typographyStyle.lineStyleFontSize); in SetStrutStyleFromJS()
518 SetDoubleValueFromJS(env, strutStyleValue, "height", typographyStyle.lineStyleHeightScale); in SetStrutStyleFromJS()
542 SetDoubleValueFromJS(env, tempValue, "leftTopRadius", rectStyle.leftTopRadius); in SetRectStyleFromJS()
543 SetDoubleValueFromJS(env, tempValue, "rightTopRadius", rectStyle.rightTopRadius); in SetRectStyleFromJS()
544 SetDoubleValueFromJS(env, tempValue, "rightBottomRadius", rectStyle.rightBottomRadius); in SetRectStyleFromJS()
[all …]
H A Dnapi_common.h353 inline void SetDoubleValueFromJS(napi_env env, napi_value argValue, const std::string str, double& … in SetDoubleValueFromJS() function