Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/jni/
DPath.cpp37 static void finalizer(SkPath* obj) { in finalizer()
44 return reinterpret_cast<jlong>(new SkPath()); in init()
48 SkPath* val = reinterpret_cast<SkPath*>(valHandle); in init_Path()
49 return reinterpret_cast<jlong>(new SkPath(*val)); in init_Path()
57 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in set()
58 const SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in set()
63 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in computeBounds()
69 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in incReserve()
74 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in moveTo__FF()
79 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rMoveTo()
[all …]
DPathMeasure.cpp41 PathMeasurePair(const SkPath& path, bool forceClosed) in PathMeasurePair()
44 SkPath fPath; // copy of the user's path
55 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in create()
68 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in setPath()
121 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in getSegment()
Dandroid_util_PathParser.cpp32 SkPath* skPath = reinterpret_cast<SkPath*>(skPathHandle); in parseStringForPath()
96 SkPath* skPath = reinterpret_cast<SkPath*>(outPathPtr); in setSkPathFromPathData()
DPaint.cpp60 const SkPoint pos[], SkPath* dst) { in getPosTextPath()
63 SkPath* fDst; in getPosTextPath()
66 font.getPaths(glyphs, count, [](const SkPath* src, const SkMatrix& mx, void* ctx) { in getPosTextPath()
269 GetTextFunctor(const minikin::Layout& layout, SkPath* path, jfloat x, jfloat y, in GetTextFunctor()
290 SkPath* path;
296 SkPath tmpPath;
300 jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) { in getTextPath()
325 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in getTextPath___C()
335 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in getTextPath__String()
780 SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in getFillPath()
[all …]
DPathEffect.cpp49 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor()
Dandroid_graphics_Canvas.cpp186 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in quickRejectPath()
226 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in clipPath()
378 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawPath()
658 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathChars()
673 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathString()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp32 const std::function<void(SkPath*)> skPathLamda;
47 [](SkPath* outPath) { in __anonf8fd43f40102()
71 [](SkPath* outPath) { in __anonf8fd43f40202()
88 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPathDirection::kCW, 10.0, in __anonf8fd43f40202()
90 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPathDirection::kCW, 20.0, in __anonf8fd43f40202()
121 [](SkPath* outPath) { in __anonf8fd43f40302()
160 [](SkPath* outPath) { in __anonf8fd43f40402()
162 outPath->arcTo(230.0, 230.0, 0.0, SkPath::kLarge_ArcSize, SkPathDirection::kCCW, in __anonf8fd43f40402()
186 [](SkPath* outPath) { in __anonf8fd43f40502()
214 [](SkPath* outPath) { in __anonf8fd43f40602()
[all …]
DFatalTestCanvas.h67 void onDrawPath(const SkPath&, const SkPaint&) { in onDrawPath() argument
85 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) { in onClipPath()
/frameworks/base/libs/hwui/
DRecordingCanvas.h96 void clipPath(const SkPath&, SkClipOp, bool aa);
104 void drawPath(const SkPath&, const SkPaint&);
133 void drawShadowRec(const SkPath&, const SkDrawShadowRec&);
171 void onClipPath(const SkPath&, SkClipOp, ClipEdgeStyle) override;
177 void onDrawPath(const SkPath&, const SkPaint&) override;
213 void onDrawShadowRec(const SkPath&, const SkDrawShadowRec&) override;
DVectorDrawable.cpp59 const SkPath& Path::getUpdatedPath(bool useStagingData, SkPath* tempStagingPath) { in getUpdatedPath()
87 static void applyTrim(SkPath* outPath, const SkPath& inPath, float trimPathStart, float trimPathEnd, in applyTrim()
113 const SkPath& FullPath::getUpdatedPath(bool useStagingData, SkPath* tempStagingPath) { in getUpdatedPath()
118 SkPath* outPath; in getUpdatedPath()
120 SkPath inPath = *tempStagingPath; in getUpdatedPath()
157 SkPath tempStagingPath; in draw()
158 const SkPath& renderPath = getUpdatedPath(useStagingData, &tempStagingPath); in draw()
271 SkPath tempStagingPath; in draw()
DOutline.h60 void setPath(const SkPath* outline, float alpha) { in setPath()
106 const SkPath* getPath() const { in getPath()
124 SkPath mPath;
DRevealClip.h52 const SkPath* getPath() const { in getPath()
63 SkPath mPath;
DSkiaCanvas.h94 virtual bool quickRejectPath(const SkPath& path) const override;
96 virtual bool clipPath(const SkPath* path, SkClipOp op) override;
99 virtual bool replaceClipPath_deprecated(const SkPath* path) override;
128 virtual void drawPath(const SkPath& path, const Paint& paint) override;
172 const Paint& paint, const SkPath& path, size_t start,
DPathParser.h40 static void parseAsciiStringForSkPath(SkPath* outPath, ParseResult* result,
DRenderNode.h47 class SkPath; variable
377 const SkPath* getClippedOutline(const SkRect& clipRect) const;
418 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;
/frameworks/base/libs/hwui/tests/common/scenes/
DPathClippingAnimation.cpp53 SkPath path = setPath(mSize); in createContent()
73 SkPath setPath(int size) { in setPath()
74 SkPath path; in setPath()
88 SkPath path = setPath(mSize - curFrame); in doFrame()
/frameworks/base/libs/hwui/hwui/
DCanvas.h184 virtual bool quickRejectPath(const SkPath& path) const = 0;
187 virtual bool clipPath(const SkPath* path, SkClipOp op) = 0;
193 virtual bool replaceClipPath_deprecated(const SkPath* path) = 0;
226 virtual void drawPath(const SkPath& path, const Paint& paint) = 0;
261 const SkPath& path, float hOffset, float vOffset, const Paint& paint,
287 const Paint& paint, const SkPath& path, size_t start,
/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()
312 (SkPath::ArcSize) (points->at(k + 3) != 0), in addCommand()
DVectorDrawableUtils.h34 static void verbsToPath(SkPath* outPath, const PathData& data);
/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()
59 void onDrawPath(const SkPath&, const SkPaint&) override { in onDrawPath() argument
/frameworks/base/libs/hwui/canvas/
DCanvasFrontend.cpp73 void CanvasStateHelper::internalClipPath(const SkPath& path, SkClipOp op) { in internalClipPath()
132 bool CanvasStateHelper::quickRejectPath(const SkPath& path) const { in quickRejectPath()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h82 void onDrawPath(const SkPath& path, const SkPaint& paint) override { in onDrawPath()
141 void onDrawShadowRec(const SkPath&, const SkDrawShadowRec&) override { in onDrawShadowRec() argument
/frameworks/base/libs/hwui/tests/microbench/
DPathParserBench.cpp32 SkPath skPath; in BM_PathParser_parseStringPathForSkPath()

12