Home
last modified time | relevance | path

Searched refs:SkPath (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
DPath.cpp39 static void finalizer(SkPath* obj) { in finalizer()
46 return reinterpret_cast<jlong>(new SkPath()); in init()
50 SkPath* val = reinterpret_cast<SkPath*>(valHandle); in init_Path()
51 return reinterpret_cast<jlong>(new SkPath(*val)); in init_Path()
59 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in set()
60 const SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in set()
65 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in computeBounds()
71 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in incReserve()
76 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in moveTo__FF()
81 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rMoveTo()
[all …]
DPathMeasure.cpp43 PathMeasurePair(const SkPath& path, bool forceClosed) in PathMeasurePair()
46 SkPath fPath; // copy of the user's path
57 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in create()
70 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in setPath()
123 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in getSegment()
DPaint.cpp75 const SkPoint pos[], SkPath* dst) { in getPosTextPath()
78 SkPath* fDst; in getPosTextPath()
81 font.getPaths(glyphs, count, [](const SkPath* src, const SkMatrix& mx, void* ctx) { in getPosTextPath()
284 GetTextFunctor(const minikin::Layout& layout, SkPath* path, jfloat x, jfloat y, in GetTextFunctor()
305 SkPath* path;
311 SkPath tmpPath;
315 jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) { in getTextPath()
340 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in getTextPath___C()
350 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in getTextPath__String()
781 SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in getFillPath()
[all …]
DPathEffect.cpp52 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor()
DRegion.cpp69 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in Region_setPath()
86 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in Region_getBoundaryPath()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp32 const std::function<void(SkPath*)> skPathLamda;
47 [](SkPath* outPath) { in __anon6c41bec80102()
71 [](SkPath* outPath) { in __anon6c41bec80202()
88 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 10.0, in __anon6c41bec80202()
90 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 20.0, in __anon6c41bec80202()
121 [](SkPath* outPath) { in __anon6c41bec80302()
160 [](SkPath* outPath) { in __anon6c41bec80402()
162 outPath->arcTo(230.0, 230.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCCW_Direction, in __anon6c41bec80402()
186 [](SkPath* outPath) { in __anon6c41bec80502()
214 [](SkPath* outPath) { in __anon6c41bec80602()
[all …]
DFatalTestCanvas.h67 void onDrawPath(const SkPath&, const SkPaint&) { in onDrawPath() argument
102 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) { in onClipPath()
/frameworks/base/core/jni/
Dandroid_util_PathParser.cpp34 SkPath* skPath = reinterpret_cast<SkPath*>(skPathHandle); in parseStringForPath()
98 SkPath* skPath = reinterpret_cast<SkPath*>(outPathPtr); in setSkPathFromPathData()
Dandroid_graphics_Canvas.cpp184 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in quickRejectPath()
220 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in clipPath()
358 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawPath()
609 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathChars()
624 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathString()
/frameworks/base/libs/hwui/
DRecordingCanvas.h86 void clipPath(const SkPath&, SkClipOp, bool aa);
93 void drawPath(const SkPath&, const SkPaint&);
121 void drawShadowRec(const SkPath&, const SkDrawShadowRec&);
157 void onClipPath(const SkPath&, SkClipOp, ClipEdgeStyle) override;
162 void onDrawPath(const SkPath&, const SkPaint&) override;
204 void onDrawShadowRec(const SkPath&, const SkDrawShadowRec&) override;
DVectorDrawable.cpp53 const SkPath& Path::getUpdatedPath(bool useStagingData, SkPath* tempStagingPath) { in getUpdatedPath()
81 static void applyTrim(SkPath* outPath, const SkPath& inPath, float trimPathStart, float trimPathEnd, in applyTrim()
107 const SkPath& FullPath::getUpdatedPath(bool useStagingData, SkPath* tempStagingPath) { in getUpdatedPath()
112 SkPath* outPath; in getUpdatedPath()
114 SkPath inPath = *tempStagingPath; in getUpdatedPath()
132 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType()); in getUpdatedPath()
152 SkPath tempStagingPath; in draw()
153 const SkPath& renderPath = getUpdatedPath(useStagingData, &tempStagingPath); in draw()
266 SkPath tempStagingPath; in draw()
DOutline.h60 void setConvexPath(const SkPath* outline, float alpha) { in setConvexPath()
110 const SkPath* getPath() const { in getPath()
128 SkPath mPath;
DRevealClip.h52 const SkPath* getPath() const { in getPath()
63 SkPath mPath;
DSkiaCanvas.h90 virtual bool quickRejectPath(const SkPath& path) const override;
92 virtual bool clipPath(const SkPath* path, SkClipOp op) override;
121 virtual void drawPath(const SkPath& path, const SkPaint& paint) override;
166 const Paint& paint, const SkPath& path, size_t start,
DRenderNode.h44 class SkPath; variable
346 const SkPath* getClippedOutline(const SkRect& clipRect) const;
370 SkPath clippedOutline;
DVectorDrawable.h191 virtual const SkPath& getUpdatedPath(bool useStagingData, SkPath* tempStagingPath);
195 SkPath mSkPath;
359 const SkPath& getUpdatedPath(bool useStagingData, SkPath* tempStagingPath) override;
367 SkPath mTrimmedSkPath;
DRecordingCanvas.cpp155 ClipPath(const SkPath& path, SkClipOp op, bool aa) : path(path), op(op), aa(aa) {} in ClipPath()
156 SkPath path;
199 DrawPath(const SkPath& path, const SkPaint& paint) : path(path), paint(paint) {} in DrawPath()
200 SkPath path;
471 DrawShadowRec(const SkPath& path, const SkDrawShadowRec& rec) : fPath(path), fRec(rec) {} in DrawShadowRec()
472 SkPath fPath;
559 void DisplayListData::clipPath(const SkPath& path, SkClipOp op, bool aa) { in clipPath()
578 void DisplayListData::drawPath(const SkPath& path, const SkPaint& paint) { in drawPath()
672 void DisplayListData::drawShadowRec(const SkPath& path, const SkDrawShadowRec& rec) { in drawShadowRec()
831 void RecordingCanvas::onClipPath(const SkPath& path, SkClipOp op, ClipEdgeStyle style) { in onClipPath()
[all …]
DPathParser.h40 ANDROID_API static void parseAsciiStringForSkPath(SkPath* outPath, ParseResult* result,
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp35 void addCommand(SkPath* outPath, char previousCmd, char cmd, const std::vector<float>* points,
65 void VectorDrawableUtils::verbsToPath(SkPath* outPath, const PathData& data) { in verbsToPath()
100 void PathResolver::addCommand(SkPath* outPath, char previousCmd, char cmd, in addCommand()
302 (SkPath::ArcSize) (points->at(k + 3) != 0), in addCommand()
303 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand()
312 (SkPath::ArcSize) (points->at(k + 3) != 0), in addCommand()
313 (SkPath::Direction) (points->at(k + 4) == 0), in addCommand()
DVectorDrawableUtils.h34 ANDROID_API static void verbsToPath(SkPath* outPath, const PathData& data);
/frameworks/base/libs/hwui/hwui/
DCanvas.h215 virtual bool quickRejectPath(const SkPath& path) const = 0;
218 virtual bool clipPath(const SkPath* path, SkClipOp op) = 0;
251 virtual void drawPath(const SkPath& path, const SkPaint& paint) = 0;
291 const SkPath& path, float hOffset, float vOffset, const Paint& paint,
318 const Paint& paint, const SkPath& path, size_t start,
DCanvas.cpp215 float vOffset, const Paint& paint, const SkPath& path) in DrawTextOnPathFunctor()
233 const SkPath& path;
237 const SkPath& path, float hOffset, float vOffset, const Paint& paint, in drawTextOnPath()
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp146 const SkPath* revealClipPath = revealClip.getPath(); in drawShadow()
180 const SkPath* casterPath = casterProperties.getOutline().getPath(); in drawShadow()
188 SkPath tmpPath; // holds temporary SkPath to store the result of intersections in drawShadow()
DDumpOpsCanvas.h47 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) override { in onClipPath()
57 void onDrawPath(const SkPath&, const SkPaint&) override { in onDrawPath() argument
/frameworks/base/libs/hwui/tests/microbench/
DPathParserBench.cpp32 SkPath skPath; in BM_PathParser_parseStringPathForSkPath()

12