/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | text_style.cpp | 131 heightScale == rhs.heightScale && in operator ==() 155 Drawing::IsScalarAlmostEqual(heightScale, rhs.heightScale) && in EqualByFonts() 194 Drawing::IsScalarAlmostEqual(heightScale, rhs.heightScale) && in MatchOneAttribute()
|
H A D | typography_style.cpp | 37 .heightScale = heightScale, in GetTextStyle()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___strut_style.md | 23 | double [heightScale](#heightscale) | 行高 | 87 ### heightScale subsection 90 double OH_Drawing_StrutStyle::heightScale
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography_style.h | 36 double heightScale = 1.0; member 72 skia::textlayout::nearlyEqual(this->heightScale, rhs.heightScale) &&
|
H A D | text_style.h | 94 double heightScale = 1.0; member
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography_style.h | 41 double heightScale = 1.0; member 65 double heightScale = 1; member
|
H A D | text_style.h | 138 double heightScale = 1.0; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_pattern.cpp | 86 auto heightScale = mainProperty->GetRenderHeight().value_or(1.0); in OnDirtyLayoutWrapperSwap() local 98 scale, widthScale, heightScale, in OnDirtyLayoutWrapperSwap() 279 auto heightScale = mainProperty->GetRenderHeight().value_or(1.0); in ToJsonValue() local 281 json->PutExtAttr("renderHeight", std::to_string(heightScale).c_str(), filter); in ToJsonValue()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/ |
H A D | texture_layer.cpp | 186 float heightScale = image_.textureInfo_.heightScale_; in ConfigWindow() local 192 … static_cast<uint32_t>(width * widthScale), static_cast<uint32_t>(height * heightScale))); in ConfigWindow() 197 static_cast<uint32_t>(height * scale * heightScale)); in ConfigWindow() 234 image_.textureInfo_.heightScale_ = static_cast<float>(windowChangeInfo.heightScale); in OnWindowChange()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___strut_style.md | 23 | double [heightScale](#heightscale) | Line height. | 87 ### heightScale subsection 90 double OH_Drawing_StrutStyle::heightScale
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/custom/ |
H A D | lume_custom_render.h | 73 void SetScaleInfo(float widthScale, float heightScale) in SetScaleInfo() argument 76 heightScale_ = heightScale; in SetScaleInfo()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | drawing_prop_convertor_test_ng.cpp | 399 EXPECT_EQ(retTextStyle.heightScale, LINE_HIGHT_PX.value_ / FONT_SIZE); 422 EXPECT_EQ(retTextStyle.heightScale, LINE_HIGHT_PERCENT.value_); 457 EXPECT_EQ(retTextStyle.heightScale, LINE_HIGHT_PX.value_ / FONT_SIZE); 519 EXPECT_EQ(retTextStyle.heightScale, 1.0); 531 EXPECT_EQ(retTextStyle.heightScale, 1.0);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 296 rsTextStyle.heightScale = textStyle.GetLineHeight().Value(); in ToRSTextStyle() 317 rsTextStyle.heightScale = lineHeight / fontSize; in ToRSTextStyle() 323 rsTextStyle.heightScale = 1; in ToRSTextStyle()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/ |
H A D | texture_info.h | 41 float heightScale = 1.0f; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 670 txtStyle.heightScale = textStyle.GetLineHeight().Value(); in ConvertTxtStyle() 679 txtStyle.heightScale = lineHeight / fontSize; in ConvertTxtStyle() 681 txtStyle.heightScale = 1; in ConvertTxtStyle() 821 txtStyle.heightScale = lineHeightScale + lineSpacingScale; in ConvertTxtStyle() 823 txtStyle.heightScale = lineHeightScale; in ConvertTxtStyle() 825 txtStyle.heightScale = ORIGINAL_LINE_HEIGHT_SCALE + lineSpacingScale; in ConvertTxtStyle() 827 txtStyle.heightScale = 1; in ConvertTxtStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | convert.cpp | 67 .height = style.heightScale, in Convert() 182 textStyle.height = style.heightScale; in Convert() 260 textStyle.heightScale = style.height; in Convert()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 215 SetDoubleValueFromJS(env, argValue, "heightScale", textStyle.heightScale); in SetTextStyleBaseType() 219 textStyle.heightScale = textStyle.heightScale < 0 ? 0 : textStyle.heightScale; in SetTextStyleBaseType() 587 … napi_set_named_property(env, objValue, "heightScale", CreateJsNumber(env, textStyle.heightScale)); in CreateTextStyleJsValue()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_text_style.h | 133 double heightScale = 1.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_loading_context.cpp | 110 double heightScale = dstSize.Height() / srcSize.Height() * viewScale; in CalculateTargetSize() local 111 if (widthScale < 1.0 && heightScale < 1.0) { in CalculateTargetSize() 112 targetSize = SizeF(targetSize.Width() * widthScale, targetSize.Height() * heightScale); in CalculateTargetSize()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_source_loading.cpp | 306 float heightScale = (1.0f * targetSize.height) / pixelMap->GetHeight(); in GeneratePictureSource() local 307 pixelMap->resize(widthScale, heightScale); in GeneratePictureSource() 308 gainMap->resize(widthScale, heightScale); in GeneratePictureSource()
|
H A D | ithumbnail_helper.cpp | 479 float heightScale = (1.0f * lcdDesiredHeight) / lcdSource->GetMainPixel()->GetHeight(); in SaveLcdPictureSource() local 480 lcdSource->GetMainPixel()->scale(widthScale, heightScale); in SaveLcdPictureSource() 481 lcdSource->GetGainmapPixelMap()->scale(widthScale, heightScale); in SaveLcdPictureSource() 523 float heightScale = (1.0f * lcdDesiredHeight) / lcdSource->GetHeight(); in SaveLcdPixelMapSource() local 524 lcdSource->scale(widthScale, heightScale); in SaveLcdPixelMapSource()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.h | 654 void SetHeightScale(double heightScale) in SetHeightScale() argument 656 heightScale_ = heightScale; in SetHeightScale()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 357 ConvertToOriginalText<TextStyle>(style)->heightScale = fontHeight; in OH_Drawing_SetTextStyleFontHeight() 1843 … ConvertToOriginalText<TypographyStyle>(style)->heightScale = fontHeight < 0 ? 0 : fontHeight; in OH_Drawing_SetTypographyTextFontHeight() 2405 return textStyle->heightScale; in OH_Drawing_TextStyleGetFontHeight() 3410 OH_Drawing_SetTypographyTextLineStyleFontHeight(style, strutstyle->heightScale); in OH_Drawing_SetTypographyStyleTextStrutStyle() 3449 strutstyle->heightScale = typographyStyle->lineStyleHeightScale; in OH_Drawing_TypographyStyleGetStrutStyle() 3493 from->heightScale == to->heightScale && from->heightOverride == to->heightOverride && in OH_Drawing_TypographyStyleStrutStyleEquals()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | render_image.cpp | 479 double heightScale = dstRect_.Height() / srcRect_.Height() * scale_; in CalculateResizeTarget() local 480 if (widthScale < 1.0 && heightScale < 1.0) { in CalculateResizeTarget() 481 resizeScale_ = Size(widthScale, heightScale); in CalculateResizeTarget()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 212 float heightScale = textureInfo.heightScale_; in OnWindowChange() local 213 SetupCameraViewPort(textureInfo.width_ * widthScale, textureInfo.height_ * heightScale); in OnWindowChange() 216 … customRender_->OnSizeChange(textureInfo.width_ * widthScale, textureInfo.height_ * heightScale); in OnWindowChange() 217 customRender_->SetScaleInfo(widthScale, heightScale); in OnWindowChange()
|