/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | typography_test.cpp | 38 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 D | typography_create_test.cpp | 36 OHOS::Rosen::TypographyStyle typographyStyle; variable 40 typographyStyle, fontCollection); 51 OHOS::Rosen::TypographyStyle typographyStyle; variable 54 typographyStyle, fontCollection);
|
H A D | text_line_base_test.cpp | 38 OHOS::Rosen::TypographyStyle typographyStyle; variable 41 typographyStyle, fontCollection);
|
H A D | run_test.cpp | 39 OHOS::Rosen::TypographyStyle typographyStyle; variable 42 typographyStyle, fontCollection);
|
H A D | convert_test.cpp | 111 TypographyStyle typographyStyle; variable 112 SPText::ParagraphStyle paragraphStyle = AdapterTxt::Convert(typographyStyle);
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 496 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 D | napi_common.h | 539 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 D | drawing_text_typography.cpp | 1964 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 D | js_paragraph_builder.cpp | 40 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 D | native_node_extented.cpp | 529 OH_Drawing_TypographyStyle* typographyStyle = OH_Drawing_CreateTypographyStyle(); in OH_ArkUI_StyledString_Create() local 530 storage->paragraphStyle = typographyStyle; in OH_ArkUI_StyledString_Create()
|