Home
last modified time | relevance | path

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

12

/frameworks/base/core/jni/android/graphics/
DPath.cpp37 static void finalizer(JNIEnv* env, jobject clazz, SkPath* obj) { in finalizer()
47 static SkPath* init1(JNIEnv* env, jobject clazz) { in init1()
48 return new SkPath(); in init1()
51 static SkPath* init2(JNIEnv* env, jobject clazz, SkPath* val) { in init2()
52 return new SkPath(*val); in init2()
55 static void reset(JNIEnv* env, jobject clazz, SkPath* obj) { in reset()
59 static void rewind(JNIEnv* env, jobject clazz, SkPath* obj) { in rewind()
63 static void assign(JNIEnv* env, jobject clazz, SkPath* dst, const SkPath* src) { in assign()
67 static jint getFillType(JNIEnv* env, jobject clazz, SkPath* obj) { in getFillType()
71 static void setFillType(JNIEnv* env, jobject clazz, SkPath* path, SkPath::FillType ft) { in setFillType()
[all …]
DPathMeasure.cpp43 PathMeasurePair(const SkPath& path, bool forceClosed) in PathMeasurePair()
46 SkPath fPath; // copy of the user's path
55 …static PathMeasurePair* create(JNIEnv* env, jobject clazz, const SkPath* path, jboolean forceClose… in create()
59 …static void setPath(JNIEnv* env, jobject clazz, PathMeasurePair* pair, const SkPath* path, jboolea… in setPath()
103 jfloat stopF, SkPath* dst, jboolean startWithMoveTo) { in getSegment()
DTextLayout.h70 jint bidiFlags, jfloat x, jfloat y, SkPath* path);
74 SkPath* path, SkCanvas* canvas);
80 int bidiFlags, jfloat x, jfloat y, SkPath* path);
DTextLayout.cpp55 jint bidiFlags, jfloat x, jfloat y, SkPath *path) { in handleText()
84 jint bidiFlags, jfloat x, jfloat y, SkPath *path) { in getTextPath()
91 SkPath* path, SkCanvas* canvas) { in drawTextOnPath()
DPathEffect.cpp43 const SkPath* shape, float advance, float phase, int style) { in OneD_constructor()
DRegion.cpp57 const SkPath* path, const SkRegion* clip) { in Region_setPath()
67 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, const SkRegion* region, SkPath* path) { in Region_getBoundaryPath()
DCanvas.cpp62 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { in clipPath()
291 SkPath* path, int op) { in clipPath()
313 SkPath* path) { in quickReject__Path()
459 static void drawPath(JNIEnv* env, jobject, SkCanvas* canvas, SkPath* path, in drawPath()
928 SkPath* path, jfloat hOffset, jfloat vOffset, jint bidiFlags, SkPaint* paint) { in drawTextOnPath___CIIPathFFPaint()
937 SkCanvas* canvas, jstring text, SkPath* path, in drawTextOnPath__StringPathFFPaint()
DPaint.cpp224 … static jboolean getFillPath(JNIEnv* env, jobject clazz, SkPaint* obj, SkPath* src, SkPath* dst) { in getFillPath()
666 jint bidiFlags, jfloat x, jfloat y, SkPath *path) { in getTextPath()
671 jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) { in getTextPath___C()
678 jstring text, int start, int end, jfloat x, jfloat y, SkPath* path) { in getTextPath__String()
/frameworks/base/libs/hwui/
DPathCache.h34 class SkPath; variable
119 SkPath* mPath;
216 PathTexture* get(SkPath* path, SkPaint* paint);
222 void removeDeferred(SkPath* path);
242 void precache(SkPath* path, SkPaint* paint);
244 static bool canDrawAsConvexPath(SkPath* path, SkPaint* paint);
245 static void computePathBounds(const SkPath* path, const SkPaint* paint,
251 typedef Pair<SkPath*, SkPath*> path_pair_t;
254 const SkPath *path, const SkPaint* paint);
295 PathTask(SkPath* path, SkPaint* paint, PathTexture* texture): in PathTask()
[all …]
DPathCache.cpp85 bool PathCache::canDrawAsConvexPath(SkPath* path, SkPaint* paint) { in canDrawAsConvexPath()
87 return paint->getPathEffect() == NULL && path->getConvexity() == SkPath::kConvex_Convexity; in canDrawAsConvexPath()
90 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, in computePathBounds()
128 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, in drawPath()
263 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture()
386 void PathCache::removeDeferred(SkPath* path) { in removeDeferred()
388 mGarbage.push(path_pair_t(path, const_cast<SkPath*>(path->getSourcePath()))); in removeDeferred()
416 static SkPath* getSourcePath(SkPath* path) { in getSourcePath()
417 const SkPath* sourcePath = path->getSourcePath(); in getSourcePath()
419 return const_cast<SkPath*>(sourcePath); in getSourcePath()
[all …]
DResourceCache.h73 void incrementRefcount(SkPath* resource);
80 void incrementRefcountLocked(SkPath* resource);
88 void decrementRefcount(SkPath* resource);
95 void decrementRefcountLocked(SkPath* resource);
101 void destructor(SkPath* resource);
107 void destructorLocked(SkPath* resource);
DDisplayListRenderer.h93 virtual bool clipPath(SkPath* path, SkRegion::Op op);
116 virtual status_t drawPath(SkPath* path, SkPaint* paint);
119 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path,
171 const Vector<SkPath*>& getPaths() const { in getPaths()
175 const SortedVector<SkPath*>& getSourcePaths() const { in getSourcePaths()
220 inline SkPath* refPath(SkPath* path) { in refPath()
223 SkPath* pathCopy = mPathMap.valueFor(path); in refPath()
225 pathCopy = new SkPath(*path); in refPath()
339 Vector<SkPath*> mPaths;
340 DefaultKeyedVector<SkPath*, SkPath*> mPathMap;
[all …]
DResourceCache.cpp70 void ResourceCache::incrementRefcount(SkPath* pathResource) { in incrementRefcount()
108 void ResourceCache::incrementRefcountLocked(SkPath* pathResource) { in incrementRefcountLocked()
141 void ResourceCache::decrementRefcount(SkPath* pathResource) { in decrementRefcount()
182 void ResourceCache::decrementRefcountLocked(SkPath* pathResource) { in decrementRefcountLocked()
204 void ResourceCache::destructor(SkPath* resource) { in destructor()
209 void ResourceCache::destructorLocked(SkPath* resource) { in destructorLocked()
363 SkPath* path = (SkPath*) resource; in deleteResourceReferenceLocked()
DPathTessellator.h107 static void tessellatePath(const SkPath& path, const SkPaint* paint,
117 static bool approximatePathOutlineVertices(const SkPath &path, bool forceClose,
DPathTessellator.cpp714 void PathTessellator::tessellatePath(const SkPath &path, const SkPaint* paint, in tessellatePath()
807 SkPath path; in tessellatePoints()
897 bool PathTessellator::approximatePathOutlineVertices(const SkPath& path, bool forceClose, in approximatePathOutlineVertices()
903 SkPath::Iter iter(path, forceClose); in approximatePathOutlineVertices()
905 SkPath::Verb v; in approximatePathOutlineVertices()
906 while (SkPath::kDone_Verb != (v = iter.next(pts))) { in approximatePathOutlineVertices()
908 case SkPath::kMove_Verb: in approximatePathOutlineVertices()
912 case SkPath::kClose_Verb: in approximatePathOutlineVertices()
915 case SkPath::kLine_Verb: in approximatePathOutlineVertices()
919 case SkPath::kQuad_Verb: in approximatePathOutlineVertices()
[all …]
DDisplayList.h49 class SkPath; variable
491 Vector<SkPath*> mPaths;
492 SortedVector<SkPath*> mSourcePaths;
DOpenGLRenderer.h279 virtual bool clipPath(SkPath* path, SkRegion::Op op);
310 virtual status_t drawPath(SkPath* path, SkPaint* paint);
313 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path,
783 status_t drawConvexPath(const SkPath& path, SkPaint* paint);
DDisplayListRenderer.cpp230 bool DisplayListRenderer::clipPath(SkPath* path, SkRegion::Op op) { in clipPath()
371 status_t DisplayListRenderer::drawPath(SkPath* path, SkPaint* paint) { in drawPath()
396 SkPath* path, float hOffset, float vOffset, SkPaint* paint) { in drawTextOnPath()
DFontRenderer.h112 uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset, Rect* bounds,
DDisplayListOp.h555 ClipPathOp(SkPath* path, SkRegion::Op op) in ClipPathOp()
571 SkPath* mPath;
1281 DrawPathOp(SkPath* path, SkPaint* paint) in DrawPathOp()
1310 SkPath* mPath;
1388 SkPath* path, float hOffset, float vOffset, SkPaint* paint) in DrawTextOnPathOp()
1402 SkPath* mPath;
DOpenGLRenderer.cpp1685 SkPath path; in clipRect()
1691 bool OpenGLRenderer::clipPath(SkPath* path, SkRegion::Op op) { in clipPath()
1695 SkPath transformed; in clipPath()
2568 status_t OpenGLRenderer::drawConvexPath(const SkPath& path, SkPaint* paint) { in drawConvexPath()
2670 SkPath path; in drawRoundRect()
2694 SkPath path; in drawCircle()
2716 SkPath path; in drawOval()
2749 SkPath path; in drawArc()
2779 SkPath path; in drawRect()
2789 SkPath path; in drawRect()
[all …]
DDisplayList.cpp223 const SortedVector<SkPath*>& sourcePaths = recorder.getSourcePaths(); in initFromDisplayListRenderer()
/frameworks/base/libs/hwui/font/
DFont.h84 int numGlyphs, SkPath* path, float hOffset, float vOffset);
DFont.cpp293 int numGlyphs, SkPath* path, float hOffset, float vOffset) { in render()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp317 OpenGLRenderer* renderer, SkPath* path, SkRegion::Op op) { in android_view_GLES20Canvas_clipPath()
534 OpenGLRenderer* renderer, SkPath* path, SkPaint* paint) { in android_view_GLES20Canvas_drawPath()
625 SkPath* path, jfloat hOffset, jfloat vOffset, int flags, SkPaint* paint) { in renderTextOnPath()
678 SkPath* path, jfloat hOffset, jfloat vOffset, jint flags, SkPaint* paint) { in android_view_GLES20Canvas_drawTextArrayOnPath()
687 SkPath* path, jfloat hOffset, jfloat vOffset, jint flags, SkPaint* paint) { in android_view_GLES20Canvas_drawTextOnPath()

12