Home
last modified time | relevance | path

Searched refs:dx2 (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_math_stroke.h103 float dx2 = 0; in CalcCap() local
111 dx2 = dy1 * strokeWidthSignal_; in CalcCap()
114 AddVertex(vertexConsumer, vd0.vertexXCoord - dx1 - dx2, vd0.vertexYCoord + dy1 - dy2); in CalcCap()
115 AddVertex(vertexConsumer, vd0.vertexXCoord + dx1 - dx2, vd0.vertexYCoord - dy1 - dy2); in CalcCap()
185 float dx2 = 0; in CalcJoin() local
194 dx2 = strokeWidth_ * (vertexDistLast.vertexYCoord - vertexDistMiddle.vertexYCoord) / deltaLengthLast; in CalcJoin()
209 CalcMiter(vertexConsumer, vertexDistBegin, vertexDistMiddle, vertexDistLast, dx1, dy1, dx2, dy2, in CalcJoin()
212 float dx = (dx1 + dx2) * HALFNUM; in CalcJoin()
219 vertexDistMiddle.vertexXCoord + dx2, vertexDistMiddle.vertexYCoord - dy2, in CalcJoin()
220 vertexDistLast.vertexXCoord + dx2, vertexDistLas in CalcJoin()
268 CalcMiter(Graphic::Vector<PointF>& vertexConsumer, const VertexDist& vd0, const VertexDist& vd1, const VertexDist& vd2, float dx1, float dy1, float dx2, float dy2, LineJoin linejoin, float mlimit, float dbevel) CalcMiter() argument
336 CalcArc(Graphic::Vector<PointF>& vertexConsumer, float x, float y, float dx1, float dy1, float dx2, float dy2) CalcArc() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp118 void Path::RCubicTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2, scalar dx3, scalar dy3) in RCubicTo() argument
120 impl_->RCubicTo(dx1, dy1, dx2, dy2, dx3, dy3); in RCubicTo()
128 void Path::RQuadTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2) in RQuadTo() argument
130 impl_->RQuadTo(dx1, dy1, dx2, dy2); in RQuadTo()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpath_impl.h64 virtual void RCubicTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2, scalar dx3, scalar dy3) = 0;
66 virtual void RQuadTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2) = 0;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.h63 void RCubicTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2, scalar dx3, scalar dy3) override;
65 void RQuadTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2) override;
H A Dskia_path.cpp131 void SkiaPath::RCubicTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2, scalar dx3, scalar dy3) in RCubicTo() argument
133 path_.rCubicTo(dx1, dy1, dx2, dy2, dx3, dy3); in RCubicTo()
143 void SkiaPath::RQuadTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2) in RQuadTo() argument
145 path_.rQuadTo(dx1, dy1, dx2, dy2); in RQuadTo()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpath.h245 * @brief Adds cubic from last point towards vector (dx1, dy1), then towards vector (dx2, dy2),
250 * @param dx2 offset from last point to second cubic control on x-axis
255 virtual void RCubicTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2, scalar dx3, scalar dy3);
258 * @brief Adds quad from last point towards vector (dx1, dy1), to vector (dx2, dy2).
262 * @param dx2 offset from last point to quad end on x-axis
265 virtual void RQuadTo(scalar dx1, scalar dy1, scalar dx2, scalar dy2);
268 * @brief Adds conic from last point towards vector (dx1, dy1), to vector (dx2, dy2),
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_napi/
H A Djs_path.cpp551 double dx2 = 0.0; in OnRQuadTo() local
552 GET_DOUBLE_PARAM(ARGC_TWO, dx2); in OnRQuadTo()
556 m_path->RQuadTo(dx1, dy1, dx2, dy2); in OnRQuadTo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dskia_decoration_painter.cpp543 auto dx2 = static_cast<float>(std::fabs(center.fX - size.width())); in RadiusToSide() local
546 auto dx = compare(dx1, dx2) ? dx1 : dx2; in RadiusToSide()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.cpp516 auto dx2 = static_cast<float>(std::fabs(center.GetX() - size.Width())); in RadiusToSide() local
519 auto dx = compare(dx1, dx2) ? dx1 : dx2; in RadiusToSide()
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.cpp820 auto dx2 = static_cast<float>(std::fabs(center.fX - size.width())); in RadiusToSide() local
823 auto dx = compare(dx1, dx2) ? dx1 : dx2; in RadiusToSide()
837 auto dx2 = static_cast<float>(std::fabs(center.GetX() - size.Width()));
840 auto dx = compare(dx1, dx2) ? dx1 : dx2;

Completed in 16 milliseconds