Searched refs:weightInfo (Results 1 – 3 of 3) sorted by relevance
109 …ntWeightWithOption(ArkUINodeHandle node, const struct ArkUIFontWeightWithOptionsStruct* weightInfo) in SetFontWeightWithOption() argument113 TextModelNG::SetFontWeight(frameNode, ConvertStrToFontWeight(weightInfo->weight)); in SetFontWeightWithOption()114 TextModelNG::SetVariableFontWeight(frameNode, weightInfo->variableFontWeight); in SetFontWeightWithOption()115 TextModelNG::SetEnableVariableFontWeight(frameNode, weightInfo->enableVariableFontWeight); in SetFontWeightWithOption()
69 ArkUIFontWeightWithOptionsStruct weightInfo; in SetFontWeight() local81 weightInfo.weight = weight.c_str(); in SetFontWeight()82 weightInfo.variableFontWeight = variableFontWeight; in SetFontWeight()85 weightInfo.enableVariableFontWeight = static_cast<int32_t>(optionsArg->BooleaValue(vm)); in SetFontWeight()87 GetArkUINodeModifiers()->getTextModifier()->setFontWeightWithOption(nativeNode, &weightInfo); in SetFontWeight()
2101 …WeightWithOption)(ArkUINodeHandle node, const struct ArkUIFontWeightWithOptionsStruct* weightInfo);