/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_ellipse.cpp | 42 if (GreatNotEqual(ellipseAttr_.ry.Value(), 0.0)) { in AsPath() 43 rx = ConvertDimensionToPx(ellipseAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath() 46 double ry = 0.0; in AsPath() local 47 if (GreatOrEqual(ellipseAttr_.ry.Value(), 0.0)) { in AsPath() 48 ry = ConvertDimensionToPx(ellipseAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath() 51 ry = ConvertDimensionToPx(ellipseAttr_.rx, viewPort, SvgLengthType::HORIZONTAL); in AsPath() 56 ConvertDimensionToPx(ellipseAttr_.cy, viewPort, SvgLengthType::VERTICAL) - ry, rx + rx, ry + ry); in AsPath() [all...] |
H A D | svg_rect.cpp | 39 if (GreatNotEqual(rectAttr_.ry.Value(), 0.0)) { in AsPath() 40 rx = ConvertDimensionToPx(rectAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath() 43 double ry = 0.0; in AsPath() local 44 if (GreatOrEqual(rectAttr_.ry.Value(), 0.0)) { in AsPath() 45 ry = ConvertDimensionToPx(rectAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath() 48 ry = ConvertDimensionToPx(rectAttr_.rx, viewPort, SvgLengthType::HORIZONTAL); in AsPath() 57 rx, ry); in AsPath() 65 RSRoundRect roundRect = RSRoundRect(RSRect(left, top, width + left, height + top), rx, ry); in AsPath() 85 attr.ry in ParseAndSetSpecializedAttr() [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/ |
H A D | geometry_bezier_arc.cpp | 34 void ArcToBezier(float cx, float cy, float rx, float ry, in ArcToBezier() argument 61 curve[i * BEZIER_ARC_SETUP + 1] = cy + ry * (px[i] * sinVal + py[i] * cosVal); in ArcToBezier() 66 float rx, float ry, in Init() 81 arrayVertices_[1] = centerY + ry * Sin(startAngle * RADIAN_TO_ANGLE); in Init() 83 arrayVertices_[3] = centerY + ry * Sin((startAngle + sweepAngle) * RADIAN_TO_ANGLE); in Init() 112 ArcToBezier(centerX, centerY, rx, ry, startAngle, localSweep, arrayVertices_ in Init() 121 float rx, float ry, in Init() 127 if (ry < 0.0f) { in Init() 128 ry = -ry; in Init() 65 Init(float centerX, float centerY, float rx, float ry, float startAngle, float sweepAngle) Init() argument 120 Init(float x0, float y0, float rx, float ry, float angle, bool largeArcFlag, bool sweepFlag, float x2, float y2) Init() argument [all...] |
H A D | geometry_arc.cpp | 21 float rx, float ry, in GeometryArc() 24 : centerX_(centerX), centerY_(centerY), radiusX_(rx), radiusY_(ry), expansionRatio_(1.0) in GeometryArc() 87 void GeometryArc::Init(float centerX, float centerY, float rx, float ry, in Init() argument 93 radiusY_ = ry; in Init() 20 GeometryArc(float centerX, float centerY, float rx, float ry, float start, float end, bool isClockwise) GeometryArc() argument
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_bezier_arc.h | 40 void ArcToBezier(float cx, float cy, float rx, float ry, 60 * @Param rx ry Arc Transverse and Longitudinal Radius. 66 float rx, float ry, in BezierArc() 70 Init(centerX, centerY, rx, ry, startAngle, sweepAngle); in BezierArc() 79 float rx, float ry, 169 * The direction of the ellipse is defined by two radii (rx, ry). 172 * @param rx,ry Radius of major and minor axes 181 float rx, float ry, in BezierArcSvg() 187 Init(x1, y1, rx, ry, angle, largeArcFlag, sweepFlag, x2, y2); in BezierArcSvg() 198 float ry, 65 BezierArc(float centerX, float centerY, float rx, float ry, float startAngle, float sweepAngle) BezierArc() argument 179 BezierArcSvg(float x1, float y1, float rx, float ry, float angle, bool largeArcFlag, bool sweepFlag, float x2, float y2) BezierArcSvg() argument [all...] |
H A D | geometry_arc.h | 42 * @param ry Ellipse Arc Vertical Axis Radius. 49 float rx, float ry, 95 void Init(float centerX, float centerY, float rx, float ry,
|
H A D | geometry_path_storage.h | 295 * @param ry Long and short axle 304 void ArcTo(float rx, float ry, in ArcTo() argument 317 ry = MATH_ABS(ry); in ArcTo() 318 if (rx < epsilon || ry < epsilon) { in ArcTo() 326 BezierArcSvg bezierArcSvg(x0, y0, rx, ry, angle, largeArcFlag, sweepFlag, x, y); in ArcTo()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_ellipse.cpp | 89 double ry = 0.0; in AsPath() local 91 ry = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath() 94 ry = ConvertDimensionToPx(component_->GetRx(), viewPort, SvgLengthType::HORIZONTAL); in AsPath() 100 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL) - ry, rx + rx, ry + ry); in AsPath() 105 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL) - ry, in AsPath() 107 ry + ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
|
H A D | svg_rect.cpp | 88 double ry = 0.0; in AsPath() local 90 ry = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath() 93 ry = ConvertDimensionToPx(component_->GetRx(), viewPort, SvgLengthType::HORIZONTAL); in AsPath() 102 rx, ry); in AsPath() 110 rx, ry); in AsPath()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_ellipse.cpp | 133 double ry = 0.0; in GetPath() local 135 ry = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath() 138 ry = ConvertDimensionToPx(rx_, LengthType::HORIZONTAL); in GetPath() 143 ConvertDimensionToPx(cy_, LengthType::VERTICAL) - ry, rx + rx, ry + ry); in GetPath() 147 ConvertDimensionToPx(cy_, LengthType::VERTICAL) - ry, in GetPath() 149 ry + ConvertDimensionToPx(cy_, LengthType::VERTICAL)); in GetPath()
|
H A D | rosen_render_svg_rect.cpp | 133 double ry = 0.0; in GetPath() local 135 ry = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath() 138 ry = ConvertDimensionToPx(rx_, LengthType::HORIZONTAL); in GetPath() 147 rx, ry); in GetPath() 155 rx, ry); in GetPath()
|
H A D | svg_ellipse_component.cpp | 82 void SvgEllipseComponent::SetRy(const Dimension& ry) in SetRy() argument 84 declaration_->SetRy(ry); in SetRy()
|
H A D | svg_rect_component.cpp | 97 void SvgRectComponent::SetRy(const Dimension& ry) in SetRy() argument 99 declaration_->SetRy(ry); in SetRy()
|
H A D | svg_ellipse_component.h | 40 void SetRy(const Dimension& ry);
|
H A D | svg_rect_component.h | 43 void SetRy(const Dimension& ry);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_ellipse_declaration.h | 27 Dimension ry = -1.0_px; member 76 void SetRy(const Dimension& ry) in SetRy() argument 79 attribute.ry = ry; in SetRy() 85 return attribute.ry; in GetRy()
|
H A D | svg_rect_declaration.h | 27 Dimension ry = -1.0_px; member 63 return attribute.ry; in GetRy() 98 void SetRy(const Dimension& ry) in SetRy() argument 101 if (GreatOrEqual(ry.Value(), 0.0)) { in SetRy() 102 attribute.ry = ry; in SetRy()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | add_arc.cpp | 78 float ry = sinf(rad) * R; in OnTestFunction() local 80 OH_Drawing_CanvasDrawLine(canvas, 0, 0, rx, ry); in OnTestFunction() 85 OH_Drawing_CanvasDrawLine(canvas, 0, 0, rx, ry); in OnTestFunction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | matrix2d.cpp | 78 void Matrix2D::Rotate(TransformParam& param, double degree, double rx, double ry) in Rotate() argument 84 skMatrix = skMatrix.preRotate(degree, rx, ry); in Rotate()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | matrix.cpp | 227 void Matrix::RotXY(const Matrix &m, const float rx, const float ry, Point &pt) in RotXY() argument 230 pt.x = rx * m.fMat_[IMAGE_SCALEX] + ry * m.fMat_[IMAGE_SKEWX] + m.fMat_[IMAGE_TRANSX]; in RotXY() 231 pt.y = rx * m.fMat_[IMAGE_SKEWY] + ry * m.fMat_[IMAGE_SCALEY] + m.fMat_[IMAGE_TRANSY]; in RotXY()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_matrix2d.cpp | 241 double ry = 0; in JsRotate() local 249 JSViewAbstract::ParseJsDouble(info[JS_MATRIX2D_PARAMETER_COUNTS_2], ry); in JsRotate() 253 ry *= density; in JsRotate() 254 NG::Matrix2D::Rotate(transform_, degree, rx, ry); in JsRotate()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | path.cpp | 68 void Path::ArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar endX, scalar endY) in ArcTo() argument 70 impl_->ArcTo(rx, ry, angle, direction, endX, endY); in ArcTo() 113 void Path::RArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar dx, scalar dy) in RArcTo() argument 115 impl_->RArcTo(rx, ry, angle, direction, dx, dy); in RArcTo()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | path_impl.h | 54 virtual void ArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar endX, scalar endY) = 0; 63 virtual void RArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar dx, scalar dy) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_path.h | 53 void ArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar endX, scalar endY) override; 62 void RArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar dx, scalar dy) override;
|
H A D | skia_path.cpp | 79 void SkiaPath::ArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar endX, scalar endY) in ArcTo() argument 83 path_.arcTo(rx, ry, angle, arcLarge, pathDir, endX, endY); in ArcTo() 123 void SkiaPath::RArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar dx, scalar dy) in RArcTo() argument 127 path_.arcTo(rx, ry, angle, arcLarge, pathDir, dx, dy); in RArcTo()
|