Home
last modified time | relevance | path

Searched refs:ctrlPoints (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_spherize_effect_filter.cpp98 Drawing::Point ctrlPoints[PointNum] = { in DrawImageRect() local
108ctrlPoints[0].Offset(offsetSphereWidth, offsetSphereHeight); // Point 0 express top left control p… in DrawImageRect()
109ctrlPoints[3].Offset(-offsetSphereWidth, offsetSphereHeight); // Point 3 express top right control… in DrawImageRect()
114 ctrlPoints[i].Offset(offsetSquare, 0); in DrawImageRect()
118 ctrlPoints[i].Offset(0, offsetSquare); in DrawImageRect()
123 path.MoveTo(ctrlPoints[0].GetX(), ctrlPoints[0].GetY()); in DrawImageRect()
125 path.CubicTo(ctrlPoints[1], ctrlPoints[2], ctrlPoints[3]); in DrawImageRect()
127 path.CubicTo(ctrlPoints[4], ctrlPoints[5], ctrlPoints[6]); in DrawImageRect()
129 path.CubicTo(ctrlPoints[7], ctrlPoints[8], ctrlPoints[9]); in DrawImageRect()
131 path.CubicTo(ctrlPoints[10], ctrlPoints[11], ctrlPoints[0]); in DrawImageRect()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp1549 Drawing::Point ctrlPoints[PointNum] = { in DrawSpherize() local
1559 ctrlPoints[0].Offset(offsetSphereWidth, offsetSphereHeight); // top left control point in DrawSpherize()
1560 ctrlPoints[3].Offset(-offsetSphereWidth, offsetSphereHeight); // top right control point in DrawSpherize()
1565 ctrlPoints[i].Offset(offsetSquare, 0); in DrawSpherize()
1569 ctrlPoints[i].Offset(0, offsetSquare); in DrawSpherize()
1573 path.MoveTo(ctrlPoints[0].GetX(), ctrlPoints[0].GetY()); in DrawSpherize()
1574 path.CubicTo(ctrlPoints[1], ctrlPoints[2], ctrlPoints[3]); // upper edge in DrawSpherize()
1575 path.CubicTo(ctrlPoints[4], ctrlPoints[5], ctrlPoints[6]); // right edge in DrawSpherize()
1576 path.CubicTo(ctrlPoints[7], ctrlPoints[8], ctrlPoints[9]); // bottom edge in DrawSpherize()
1577 path.CubicTo(ctrlPoints[10], ctrlPoints[11], ctrlPoints[0]); // left edge in DrawSpherize()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_canvas_test.cpp944 Point ctrlPoints[12] = { variable
960 skiaCanvas->DrawPatch(ctrlPoints, colors, texCoords, BlendMode::COLOR_BURN, paint);