Home
last modified time | relevance | path

Searched refs:typographyStyle (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dtypography_test.cpp38 OHOS::Rosen::TypographyStyle typographyStyle; variable
41 typographyStyle, fontCollection);
53 OHOS::Rosen::TypographyStyle typographyStyle; variable
56 typographyStyle, fontCollection);
69 OHOS::Rosen::TypographyStyle typographyStyle; variable
72 typographyStyle, fontCollection);
85 OHOS::Rosen::TypographyStyle typographyStyle; variable
88 typographyStyle, fontCollection);
103 typographyStyle, fontCollection);
127 typographyStyle, fontCollection);
[all …]
H A Dtypography_create_test.cpp36 OHOS::Rosen::TypographyStyle typographyStyle; variable
40 typographyStyle, fontCollection);
51 OHOS::Rosen::TypographyStyle typographyStyle; variable
54 typographyStyle, fontCollection);
H A Dtext_line_base_test.cpp38 OHOS::Rosen::TypographyStyle typographyStyle; variable
41 typographyStyle, fontCollection);
H A Drun_test.cpp39 OHOS::Rosen::TypographyStyle typographyStyle; variable
42 typographyStyle, fontCollection);
H A Dconvert_test.cpp111 TypographyStyle typographyStyle; variable
112 SPText::ParagraphStyle paragraphStyle = AdapterTxt::Convert(typographyStyle);
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp496 bool SetStrutStyleFromJS(napi_env env, napi_value strutStyleValue, TypographyStyle& typographyStyle) in SetStrutStyleFromJS() argument
509 typographyStyle.lineStyleFontFamilies = fontFamilies; in SetStrutStyleFromJS()
513 SetEnumValueFromJS(env, strutStyleValue, "fontStyle", typographyStyle.lineStyleFontStyle); in SetStrutStyleFromJS()
514 SetEnumValueFromJS(env, strutStyleValue, "fontWidth", typographyStyle.lineStyleFontWidth); in SetStrutStyleFromJS()
515 SetEnumValueFromJS(env, strutStyleValue, "fontWeight", typographyStyle.lineStyleFontWeight); in SetStrutStyleFromJS()
517 SetDoubleValueFromJS(env, strutStyleValue, "fontSize", typographyStyle.lineStyleFontSize); in SetStrutStyleFromJS()
518 SetDoubleValueFromJS(env, strutStyleValue, "height", typographyStyle.lineStyleHeightScale); in SetStrutStyleFromJS()
519 SetDoubleValueFromJS(env, strutStyleValue, "leading", typographyStyle.lineStyleSpacingScale); in SetStrutStyleFromJS()
521 SetBoolValueFromJS(env, strutStyleValue, "forceHeight", typographyStyle.lineStyleOnly); in SetStrutStyleFromJS()
522 SetBoolValueFromJS(env, strutStyleValue, "enabled", typographyStyle.useLineStyle); in SetStrutStyleFromJS()
[all …]
H A Dnapi_common.h539 bool SetStrutStyleFromJS(napi_env env, napi_value strutStyleValue, TypographyStyle& typographyStyle
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_typography.cpp1964 if (typographyStyle == nullptr) { in OH_Drawing_SetTypographyTextLineStyleFontHeight()
1967 typographyStyle->lineStyleHeightScale = lineStyleFontHeight; in OH_Drawing_SetTypographyTextLineStyleFontHeight()
1968 if (!typographyStyle->lineStyleHeightOnlyInit) { in OH_Drawing_SetTypographyTextLineStyleFontHeight()
1969 typographyStyle->lineStyleHeightOnly = true; in OH_Drawing_SetTypographyTextLineStyleFontHeight()
3385 if (typographyStyle == nullptr) { in OH_Drawing_TypographyStyleGetEffectiveAlignment()
3394 if (typographyStyle == nullptr) { in OH_Drawing_TypographyStyleIsHintEnabled()
3397 return typographyStyle->hintingIsOn; in OH_Drawing_TypographyStyleIsHintEnabled()
3439 if (typographyStyle == nullptr) { in OH_Drawing_TypographyStyleGetStrutStyle()
3448 strutstyle->size = typographyStyle->lineStyleFontSize; in OH_Drawing_TypographyStyleGetStrutStyle()
3509 if (typographyStyle == nullptr) { in OH_Drawing_TypographyStyleSetHintsEnabled()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_builder_napi/
H A Djs_paragraph_builder.cpp40 TypographyStyle typographyStyle; in Constructor() local
41 GetParagraphStyleFromJS(env, argv[0], typographyStyle); in Constructor()
53 …std::unique_ptr<TypographyCreate> typographyCreate = TypographyCreate::Create(typographyStyle, fon… in Constructor()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnative_node_extented.cpp529 OH_Drawing_TypographyStyle* typographyStyle = OH_Drawing_CreateTypographyStyle(); in OH_ArkUI_StyledString_Create() local
530 storage->paragraphStyle = typographyStyle; in OH_ArkUI_StyledString_Create()