Home
last modified time | relevance | path

Searched refs:Typography (Results 1 – 25 of 28) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/ui/
Dtypography.cpp21 Typography::Typography() in Typography() function in rosen::Typography
26 void Typography::Init(std::shared_ptr<TypographyCreateBase> TypographyCreateBase_) in Init()
31 double Typography::GetMaxWidth() in GetMaxWidth()
36 double Typography::GetHeight() in GetHeight()
41 double Typography::GetLongestLine() in GetLongestLine()
46 double Typography::GetMinIntrinsicWidth() in GetMinIntrinsicWidth()
51 double Typography::GetMaxIntrinsicWidth() in GetMaxIntrinsicWidth()
56 double Typography::GetAlphabeticBaseline() in GetAlphabeticBaseline()
61 double Typography::GetIdeographicBaseline() in GetIdeographicBaseline()
66 bool Typography::DidExceedMaxLines() in DidExceedMaxLines()
[all …]
Dtypography.h28 class Typography {
30 Typography();
31 ~Typography() = default;
Dtypography_create.cpp54 std::unique_ptr<Typography> TypographyCreate::Build() in Build()
56 std::unique_ptr<Typography> typography = TypographyCreateBase_->Build(); in Build()
Dtypography_create.h40 std::unique_ptr<Typography> Build();
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/texgine/
Dtypography.cpp49 Typography::Typography(std::shared_ptr<Texgine::Typography> typography) in Typography() function in OHOS::Rosen::AdapterTextEngine::Typography
54 double Typography::GetMaxWidth() const in GetMaxWidth()
59 double Typography::GetHeight() const in GetHeight()
64 double Typography::GetActualWidth() const in GetActualWidth()
69 double Typography::GetMinIntrinsicWidth() in GetMinIntrinsicWidth()
74 double Typography::GetMaxIntrinsicWidth() in GetMaxIntrinsicWidth()
79 double Typography::GetAlphabeticBaseline() in GetAlphabeticBaseline()
84 double Typography::GetIdeographicBaseline() in GetIdeographicBaseline()
89 bool Typography::DidExceedMaxLines() const in DidExceedMaxLines()
94 int Typography::GetLineCount() const in GetLineCount()
[all …]
Dtypography.h26 class Typography : public ::OHOS::Rosen::Typography {
28 explicit Typography(std::shared_ptr<TextEngine::Typography> typography);
52 std::shared_ptr<TextEngine::Typography> typography_ = nullptr;
Dtypography_create.cpp101 std::unique_ptr<OHOS::Rosen::Typography> TypographyCreate::CreateTypography() in CreateTypography()
103 return std::make_unique<Typography>(builder_->Build()); in CreateTypography()
Dtypography_create.h33 std::unique_ptr<Typography> CreateTypography() override;
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/txt/
Dtypography.cpp49 Typography::Typography(std::unique_ptr<txt::Paragraph> paragraph): paragraph_(std::move(paragraph)) in Typography() function in OHOS::Rosen::AdapterTxt::Typography
53 double Typography::GetMaxWidth() const in GetMaxWidth()
58 double Typography::GetHeight() const in GetHeight()
63 double Typography::GetActualWidth() const in GetActualWidth()
68 double Typography::GetMinIntrinsicWidth() in GetMinIntrinsicWidth()
73 double Typography::GetMaxIntrinsicWidth() in GetMaxIntrinsicWidth()
78 double Typography::GetAlphabeticBaseline() in GetAlphabeticBaseline()
83 double Typography::GetIdeographicBaseline() in GetIdeographicBaseline()
88 bool Typography::DidExceedMaxLines() const in DidExceedMaxLines()
93 int Typography::GetLineCount() const in GetLineCount()
[all …]
Dtypography.h30 class Typography : public ::OHOS::Rosen::Typography {
32 Typography(std::unique_ptr<txt::Paragraph> paragraph);
Dtypography_create.cpp60 std::unique_ptr<OHOS::Rosen::Typography> TypographyCreate::CreateTypography() in CreateTypography()
63 return std::make_unique<Typography>(std::move(paragraph)); in CreateTypography()
Dtypography_create.h33 std::unique_ptr<Typography> CreateTypography() override;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/c/
Ddrawing_text_typography.cpp303 std::unique_ptr<Typography> typography = rosenHandler->Build(); in OH_Drawing_CreateTypography()
309 delete ConvertToOriginalText<Typography>(typography); in OH_Drawing_DestroyTypography()
314 ConvertToOriginalText<Typography>(typography)->Layout(maxWidth); in OH_Drawing_TypographyLayout()
320 …ConvertToOriginalText<Typography>(typography)->Paint(reinterpret_cast<OHOS::Rosen::Drawing::Canvas… in OH_Drawing_TypographyPaint()
326 return ConvertToOriginalText<Typography>(typography)->GetMaxWidth(); in OH_Drawing_TypographyGetMaxWidth()
331 return ConvertToOriginalText<Typography>(typography)->GetHeight(); in OH_Drawing_TypographyGetHeight()
336 return ConvertToOriginalText<Typography>(typography)->GetLongestLine(); in OH_Drawing_TypographyGetLongestLine()
341 return ConvertToOriginalText<Typography>(typography)->GetMinIntrinsicWidth(); in OH_Drawing_TypographyGetMinIntrinsicWidth()
346 return ConvertToOriginalText<Typography>(typography)->GetMaxIntrinsicWidth(); in OH_Drawing_TypographyGetMaxIntrinsicWidth()
351 return ConvertToOriginalText<Typography>(typography)->GetAlphabeticBaseline(); in OH_Drawing_TypographyGetAlphabeticBaseline()
[all …]
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
Dtypography.h94 class Typography : public MemoryObject {
96 virtual ~Typography() = default;
208 …friend void ReportMemoryUsage(const std::string& member, const Typography& that, const bool needTh…
Dtypography_builder.h72 virtual std::shared_ptr<Typography> Build() = 0;
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/properties/
Dtypography_create_base.h29 class Typography; variable
39 virtual std::unique_ptr<Typography> Build();
Dtypography_create_txt.cpp63 std::unique_ptr<Typography> TypographyCreateTxt::Build() in Build()
65 return std::make_unique<Typography>(); in Build()
Dtypography_create_txt.h37 std::unique_ptr<Typography> Build() override;
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
Dtypography.h69 class Typography {
71 virtual ~Typography() = default;
Dtypography_create.h54 virtual std::unique_ptr<Typography> CreateTypography() = 0;
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
Dtypography_builder_impl.h39 std::shared_ptr<Typography> Build() override;
Dtypography_builder_impl.cpp114 std::shared_ptr<Typography> TypographyBuilderImpl::Build() in Build()
Dtypography_impl.h41 class TypographyImpl : public Typography {
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/ui/
Dtypography_test.cpp41 std::unique_ptr<rosen::Typography> typography = builder->Build();
/foundation/graphic/graphic_2d/rosen/samples/texgine/feature_test/
Dfeature_test_framework.h43 std::shared_ptr<OHOS::Rosen::TextEngine::Typography> typography = nullptr;

12