Searched refs:textInfo (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.cpp | 206 FillTextInfo textInfo; in FillText() local 207 textInfo.text = text; in FillText() 208 textInfo.x = x; in FillText() 209 textInfo.y = y; in FillText() 210 renderingContext2DModel_->SetFillText(paintState_, textInfo); in FillText() 215 FillTextInfo textInfo; in StrokeText() local 216 textInfo.text = text; in StrokeText() 217 textInfo.x = x; in StrokeText() 218 textInfo.y = y; in StrokeText() 219 renderingContext2DModel_->SetStrokeText(paintState_, textInfo); in StrokeText()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_chart_bridge.cpp | 274 const std::string& key, TextInfo& textInfo, SegmentInfo& segmentInfo) in ParseTextInfoAndSegmentInfo() argument 282 textInfo.SetTextValue(valStr); in ParseTextInfoAndSegmentInfo() 285 textInfo.SetPlacement(Placement::TOP); in ParseTextInfoAndSegmentInfo() 287 textInfo.SetPlacement(Placement::BOTTOM); in ParseTextInfoAndSegmentInfo() 289 textInfo.SetPlacement(Placement::NONE); in ParseTextInfoAndSegmentInfo() 306 textInfo.SetColor(Color::FromString(valStr)); in ParseTextInfoAndSegmentInfo() 320 TextInfo textInfo; in ParseAttrDataStyle() local 338 ParseTextInfoAndSegmentInfo(runtime, val, keyStr, textInfo, segmentInfo); in ParseAttrDataStyle() 352 line.SetTextInfo(textInfo); in ParseAttrDataStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/chart/ |
H A D | chart_component.h | 304 explicit LineInfo(const TextInfo& textInfo) in LineInfo() argument 306 textInfo_ = textInfo; in LineInfo() 321 void SetTextInfo(const TextInfo& textInfo) in SetTextInfo() argument 323 textInfo_ = textInfo; in SetTextInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_canvas_renderer.cpp | 212 FillTextInfo textInfo; in JsFillText() local 213 …if (info.GetStringArg(0, textInfo.text) && info.GetDoubleArg(1, textInfo.x) && info.GetDoubleArg(2… in JsFillText() 215 textInfo.x *= density; in JsFillText() 216 textInfo.y *= density; in JsFillText() 227 textInfo.maxWidth = maxWidth; in JsFillText() 229 renderingContext2DModel_->SetFillText(paintState_, textInfo); in JsFillText() 236 FillTextInfo textInfo; in JsStrokeText() local 238 …if (info.GetStringArg(0, textInfo.text) && info.GetDoubleArg(1, textInfo.x) && info.GetDoubleArg(2… in JsStrokeText() 239 textInfo.x *= density; in JsStrokeText() 240 textInfo.y *= density; in JsStrokeText() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 327 void ParseTextPlacement(const std::string& val, TextInfo& textInfo) in ParseTextPlacement() argument 330 textInfo.SetPlacement(Placement::TOP); in ParseTextPlacement() 332 textInfo.SetPlacement(Placement::BOTTOM); in ParseTextPlacement() 334 textInfo.SetPlacement(Placement::NONE); in ParseTextPlacement() 347 TextInfo textInfo; in GetAttrDataSetData() local 358 textInfo.SetTextValue(val); in GetAttrDataSetData() 360 ParseTextPlacement(val, textInfo); in GetAttrDataSetData() 366 textInfo.SetColorString(val); in GetAttrDataSetData() 380 lineInfo.SetTextInfo(textInfo); in GetAttrDataSetData()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-library-kit/ |
H A D | js-apis-photoAccessHelper.md | 5213 let textInfo: photoAccessHelper.TextContextInfo = { 5217 textContextInfo: textInfo
|
/ohos5.0/docs/en/application-dev/reference/apis-media-library-kit/ |
H A D | js-apis-photoAccessHelper.md | 5214 let textInfo: photoAccessHelper.TextContextInfo = { 5218 textContextInfo: textInfo
|