Home
last modified time | relevance | path

Searched refs:skPath (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLPath.cpp100 const SkPath& skPath) { in init_path_object_for_general_path() argument
102 int verbCnt = skPath.countVerbs(); in init_path_object_for_general_path()
103 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
110 SkPath::RawIter iter(skPath); in init_path_object_for_general_path()
212 const SkPath& skPath) { in InitPathObjectPathDataCheckingDegenerates() argument
213 return init_path_object_for_general_path<true>(gpu, pathID, skPath); in InitPathObjectPathDataCheckingDegenerates()
218 const SkPath& skPath) { in InitPathObjectPathData() argument
219 SkASSERT(!skPath.isEmpty()); in InitPathObjectPathData()
223 if ((skPath.getSegmentMasks() & SkPath::kConic_SegmentMask) == 0) { in InitPathObjectPathData()
224 int verbCnt = skPath.countVerbs(); in InitPathObjectPathData()
[all …]
DGrGLPathRange.cpp70 const SkPath* skPath = &origSkPath; in onInitPath() local
79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) { in onInitPath()
85 skPath = tmpPath.get(); in onInitPath()
88 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, *skPath); in onInitPath()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp58 SkPath skPath; in get_gr_path() local
59 shape.asPath(&skPath); in get_gr_path()
60 path = resourceProvider->createPath(skPath, shape.style()); in get_gr_path()
66 SkPath skPath; in get_gr_path() local
67 shape.asPath(&skPath); in get_gr_path()
68 SkASSERT(path->isEqualTo(skPath, shape.style())); in get_gr_path()
/external/skia/src/gpu/
DGrPath.h24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) in GrPath() argument
29 , fSkPath(skPath) in GrPath()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp279 SkPath skPath; in BuildPath() local
286 skPath.moveTo(point.x, point.y); in BuildPath()
288 skPath.lineTo(point.x, point.y); in BuildPath()
292 skPath.cubicTo(point.x, point.y, point2.x, point2.y, point3.x, point3.y); in BuildPath()
296 skPath.close(); in BuildPath()
298 return skPath; in BuildPath()
732 SkPath skPath = BuildPath(pPathData); in DrawPath() local
735 skPath.offset(delta.fX, delta.fY); in DrawPath()
736 m_skPath.addPath(skPath); in DrawPath()
910 SkPath skPath = BuildPath(pPathData); in SetClipStroke() local
[all …]
/external/skia/experimental/SkV8Example/
DPath2DBuilder.cpp254 SkPath* skPath = new SkPath(path->fSkPath); in Finalize() local
258 Path2D* pathWrap = new Path2D(skPath); in Finalize()
/external/skia/src/ports/
DSkFontHost_mac.cpp1360 SkPath* skPath = (SkPath*)info; in CTPathElement() local
1365 skPath->moveTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1369 skPath->lineTo(element->points[0].x, -element->points[0].y); in CTPathElement()
1373 skPath->quadTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1378 skPath->cubicTo(element->points[0].x, -element->points[0].y, in CTPathElement()
1384 skPath->close(); in CTPathElement()