/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_font_style.cpp | 21 TexgineFontStyle::TexgineFontStyle(): fontStyle_(std::make_shared<RSFontStyle>()) in TexgineFontStyle() 26 int weight, int width, Slant slant): fontStyle_( in TexgineFontStyle() 33 fontStyle_ = style; in TexgineFontStyle() 38 return fontStyle_; in GetFontStyle() 43 fontStyle_ = fontStyle; in SetFontStyle() 48 if (fontStyle_ == nullptr) { in SetStyle() 51 *fontStyle_ = style; in SetStyle() 56 if (fontStyle_ == nullptr) { in GetWeight() 59 return fontStyle_->GetWeight(); in GetWeight() 64 if (fontStyle_ == nullptr) { in GetWidth() [all …]
|
H A D | texgine_font_style.h | 66 std::shared_ptr<RSFontStyle> fontStyle_ = nullptr;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.cpp | 24 …: fontFamilies_(fontFamilies), fontSize_(fontSize), fontWeight_(fontWeight), fontStyle_(fontStyle), in TextStyle() 35 …fontWeight_ == rhs.fontWeight_ && fontStyle_ == rhs.fontStyle_ && textBaseline_ == rhs.textBaselin… in operator ==() 100 JSON_STRING_PUT_INT(jsonValue, fontStyle_); in ToString()
|
H A D | popup_param.h | 336 fontStyle_ = fontStyle; in SetFontStyle() 341 return fontStyle_; in GetFontStyle() 528 std::optional<FontStyle> fontStyle_; variable
|
H A D | text_style.h | 293 return fontStyle_; in GetFontStyle() 298 fontStyle_ = fontStyle; in SetFontStyle() 787 FontStyle fontStyle_ { FontStyle::NORMAL };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | typography_style.cpp | 25 .fontStyle_ = fontStyle_, in GetTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 226 fontStyle_.align = TEXT_ALIGNMENT_LEFT; in CanvasComponent() 227 fontStyle_.direct = TEXT_DIRECT_LTR; in CanvasComponent() 231 fontStyle_.fontName = defaultFontName; in CanvasComponent() 232 fontStyle_.letterSpace = DEFAULT_FONT_LETTERSPACE; in CanvasComponent() 251 if (fontStyle_.fontName != nullptr) { in ReleaseNativeViews() 252 ace_free(const_cast<char *>(fontStyle_.fontName)); in ReleaseNativeViews() 253 fontStyle_.fontName = nullptr; in ReleaseNativeViews() 557 component->fontStyle_.fontName = nullptr; in FontSetter() 560 component->fontStyle_.fontName = mallocSubFont; in FontSetter() 633 component->fontStyle_.align = TEXT_ALIGNMENT_LEFT; in TextAlignSetter() [all …]
|
H A D | canvas_component.h | 384 UICanvas::FontStyle fontStyle_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_content_modifier.cpp | 249 fontStyle_ = AceType::MakeRefPtr<PropertyInt>(static_cast<int32_t>(textStyle.GetFontStyle())); in SetDefaultFontStyle() 250 AttachProperty(fontStyle_); in SetDefaultFontStyle() 350 if (fontStyle_->Get() != static_cast<int32_t>(value)) { in SetFontStyle() 351 fontStyle_->Set(static_cast<int32_t>(value)); in SetFontStyle()
|
H A D | text_field_content_modifier.h | 121 RefPtr<PropertyInt> fontStyle_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_event_hub.h | 157 fontStyle_ = fontStyle; in SetFontStyle() 162 return fontStyle_; in GetFontStyle() 180 OHOS::Ace::FontStyle fontStyle_; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_text_style.h | 124 TestingFontStyle fontStyle_ = TestingFontStyle::NORMAL; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 225 rsTextStyle.fontStyle_ = static_cast<RSFontStyle>(textStyle.GetFontStyle()); in ToRSTextStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_typography_test.cpp | 452 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontStyle_, FontStyle::NORMAL); 458 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontStyle_, FontStyle::ITALIC); 464 EXPECT_EQ(ConvertToOriginalText(txtStyle)->fontStyle_, FontStyle::NORMAL); 967 EXPECT_EQ(ConvertToOriginalText(typoStyle)->fontStyle_, FontStyle::NORMAL); 973 EXPECT_EQ(ConvertToOriginalText(typoStyle)->fontStyle_, FontStyle::ITALIC); 979 EXPECT_EQ(ConvertToOriginalText(typoStyle)->fontStyle_, FontStyle::NORMAL);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 422 ConvertToOriginalText<TextStyle>(style)->fontStyle_ = rosenFontStyle; in OH_Drawing_SetTextStyleFontStyle()
|