/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_modifier.cpp | 42 LineCap lineCap = LineCap(lineCap_->Get()); in onDraw() local 44 lineCap = lineCap == LineCap::BUTT ? LineCap::SQUARE : lineCap; in onDraw() 47 strokeWidth_->Get(), dividerLength_->Get(), vertical_->Get(), color_->Get().ToColor(), lineCap); in onDraw()
|
H A D | divider_modifier.h | 50 void SetLineCap(LineCap lineCap) in SetLineCap() argument 52 lineCap_->Set(static_cast<int>(lineCap)); in SetLineCap()
|
/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | divider_component.h | 71 void SetLineCap(LineCap lineCap) in SetLineCap() argument 73 lineCap_ = lineCap; in SetLineCap()
|
/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_drawing_convertor.cpp | 34 RSPen::CapStyle ToRSCapStyle(const LineCap& lineCap) in ToRSCapStyle() argument 37 switch (lineCap) { in ToRSCapStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | divider_painter.h | 30 std::optional<LineCap> lineCap) in DividerPainter() 32 dividerColor_(dividerColor), lineCap_(lineCap) in DividerPainter() 29 DividerPainter(float constrainStrokeWidth, float dividerLength, bool vertical, std::optional<Color> dividerColor, std::optional<LineCap> lineCap) DividerPainter() argument
|
H A D | shape_painter.cpp | 39 int lineCap = shapePaintProperty.GetStrokeLineCapValue(); in SetPen() local 40 if (static_cast<int>(RSPen::CapStyle::FLAT_CAP) == lineCap) { in SetPen() 42 } else if (static_cast<int>(shapePaintProperty.SQUARE_CAP) == lineCap) { in SetPen()
|
H A D | drawing_prop_convertor.h | 28 RSPen::CapStyle ToRSCapStyle(const LineCap& lineCap);
|
H A D | drawing_prop_convertor.cpp | 48 RSPen::CapStyle ToRSCapStyle(const LineCap& lineCap) in ToRSCapStyle() argument 51 switch (lineCap) { in ToRSCapStyle()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/depiction/ |
H A D | depict_stroke.h | 55 void SetLineCap(LineCap lineCap) in SetLineCap() 57 BaseType::GetGenerator().SetLineCap(lineCap); in SetLineCap()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_divider.cpp | 55 void JSDivider::SetLineCap(int lineCap) in SetLineCap() argument 59 if (static_cast<int>(LineCap::SQUARE) == lineCap) { in SetLineCap() 61 } else if (static_cast<int>(LineCap::ROUND) == lineCap) { in SetLineCap() 107 JSClass<JSDivider>::StaticMethod("lineCap", &JSDivider::SetLineCap, opt); in JSBind()
|
H A D | js_divider.h | 28 static void SetLineCap(int lineCap);
|
H A D | js_shape.h | 40 static void SetStrokeLineCap(int lineCap);
|
H A D | js_shape_abstract.h | 33 static void SetStrokeLineCap(int lineCap);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | divider_modifier.cpp | 40 void SetDividerLineCap(ArkUINodeHandle node, int32_t lineCap) in SetDividerLineCap() argument 45 if (static_cast<int>(LineCap::SQUARE) == lineCap) { in SetDividerLineCap() 47 } else if (static_cast<int>(LineCap::ROUND) == lineCap) { in SetDividerLineCap()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | sk_painter.cpp | 89 int lineCap = shapePaintProperty.GetStrokeLineCapValue(); in SetPen() local 90 if (static_cast<int>(LineCapStyle::ROUND) == lineCap) { in SetPen() 92 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen() 162 int lineCap = shapePaintProperty.GetStrokeLineCapValue(); in SetPen() local 163 if (static_cast<int>(LineCapStyle::ROUND) == lineCap) { in SetPen() 165 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_painter.cpp | 60 int lineCap = shapePaintProperty.GetStrokeLineCapValue(); in SetPen() local 61 if (static_cast<int>(LineCapStyle::ROUND) == lineCap) { in SetPen() 63 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | divider_composed_element.cpp | 29 { "lineCap", [](const DividerComposedElement& inspector) { return inspector.GetDividerLineCap(); } }, 44 std::string("lineCap: ").append(GetDividerLineCap().c_str())); in Dump() 80 auto lineCap = renderDivider ? renderDivider->GetLineCap() : LineCap::BUTT; in GetDividerLineCap() local 81 return ConvertLineCapToString(lineCap); in GetDividerLineCap()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_paint_property.h | 103 std::array<std::string, 3> lineCap = { "LineCapStyle.Butt", "LineCapStyle.Round", "LineCapStyle.Square" }; variable 104 json->PutExtAttr("strokeLineCap", lineCap.at(propStrokeLineCap_.value_or(0) % 3).c_str(), filter);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/divider/old_cases/ |
H A D | divider_test_ng.cpp | 40 std::optional<Ace::LineCap> lineCap = std::nullopt; member 69 testProperty.lineCap = LINE_CAP; in SetUpTestCase() 89 if (testProperty.lineCap.has_value()) { in CreateDividerNode() 90 DividerModelNG().LineCap(testProperty.lineCap.value()); in CreateDividerNode()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | paint_state.h | 336 void SetLineCap(LineCapStyle lineCap) in SetLineCap() argument 338 lineCap_ = lineCap; in SetLineCap()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_divider_bridge.cpp | 59 int32_t lineCap = lineCapArg->Int32Value(vm); in SetLineCap() local 60 GetArkUINodeModifiers()->getDividerModifier()->setDividerLineCap(nativeNode, lineCap); in SetLineCap()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_shape_ffi.h | 47 CJ_EXPORT void FfiOHOSAceFrameworkShapeSetStrokeLineCap(int32_t lineCap);
|
H A D | cj_shape_ffi.cpp | 134 void FfiOHOSAceFrameworkShapeSetStrokeLineCap(int32_t lineCap) in FfiOHOSAceFrameworkShapeSetStrokeLineCap() argument 136 ShapeModel::GetInstance()->SetStrokeLineCap(static_cast<int32_t>(LINE_CAP_STYLE_LIST[lineCap])); in FfiOHOSAceFrameworkShapeSetStrokeLineCap()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.h | 54 void SetLineCap(const LineCapStyle lineCap);
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/common/ |
H A D | paint.cpp | 136 void Paint::SetLineCap(LineCap lineCap) in SetLineCap() argument 138 lineCap_ = lineCap; in SetLineCap()
|