HomeSort by relevance Sort by last modified time
    Searched refs:SkPath (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/skia/src/core/
SkPathHeap.cpp 2 #include "SkPath.h"
9 SkPathHeap::SkPathHeap() : fHeap(kPathCount * sizeof(SkPath)) {
13 : fHeap(kPathCount * sizeof(SkPath)) {
17 SkPath** ptr = fPaths.begin();
18 SkPath* p = (SkPath*)fHeap.allocThrow(count * sizeof(SkPath));
21 new (p) SkPath;
29 SkPath** iter = fPaths.begin();
30 SkPath** stop = fPaths.end()
    [all...]
SkPathHeap.h 8 class SkPath;
22 int append(const SkPath&);
26 const SkPath& operator[](int index) const {
36 SkTDArray<SkPath*> fPaths;
SkEdgeBuilder.cpp 2 #include "SkPath.h"
45 SkPath::Verb verb;
47 while ((verb = clipper->next(pts)) != SkPath::kDone_Verb) {
49 case SkPath::kLine_Verb:
52 case SkPath::kQuad_Verb:
55 case SkPath::kCubic_Verb:
73 int SkEdgeBuilder::build(const SkPath& path, const SkIRect* iclip,
79 SkPath::Iter iter(path, true);
81 SkPath::Verb verb;
88 while ((verb = iter.next(pts)) != SkPath::kDone_Verb)
    [all...]
SkStrokerPriv.h 32 typedef void (*CapProc)(SkPath* path,
36 SkPath* otherPath);
38 typedef void (*JoinProc)(SkPath* outer, SkPath* inner,
SkEdgeBuilder.h 10 class SkPath;
16 int build(const SkPath& path, const SkIRect* clip, int shiftUp);
  /external/skia/include/core/
SkStroke.h 24 class SkPath;
54 void strokeLine(const SkPoint& start, const SkPoint& end, SkPath*) const;
55 void strokeRect(const SkRect& rect, SkPath*) const;
56 void strokeOval(const SkRect& oval, SkPath*) const;
57 void strokeRRect(const SkRect& rect, SkScalar rx, SkScalar ry, SkPath*) const;
58 void strokePath(const SkPath& path, SkPath*) const;
SkRasterizer.h 25 class SkPath;
34 bool rasterize(const SkPath& path, const SkMatrix& matrix,
42 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
SkPathEffect.h 22 class SkPath;
43 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width) = 0;
90 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
125 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
SkPath.h 28 /** \class SkPath
30 The SkPath class encapsulates compound (multiple contour) geometric paths
33 class SkPath {
35 SkPath();
36 SkPath(const SkPath&);
37 ~SkPath();
39 SkPath& operator=(const SkPath&);
41 friend bool operator==(const SkPath&, const SkPath&)
    [all...]
SkPathMeasure.h 20 #include "SkPath.h"
31 SkPathMeasure(const SkPath& path, bool forceClosed);
39 void setPath(const SkPath*, bool forceClosed);
70 bool getSegment(SkScalar startD, SkScalar stopD, SkPath* dst, bool startWithMoveTo);
86 SkPath::Iter fIter;
87 const SkPath* fPath;
SkEdgeClipper.h 20 #include "SkPath.h"
30 SkPath::Verb next(SkPoint pts[]);
34 SkPath::Verb* fCurrVerb;
41 SkPath::Verb fVerbs[kMaxVerbs];
  /external/skia/include/effects/
Sk2DPathEffect.h 30 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
46 virtual void begin(const SkIRect& uvBounds, SkPath* dst);
47 virtual void next(const SkPoint& loc, int u, int v, SkPath* dst);
48 virtual void end(SkPath* dst);
54 virtual void nextSpan(int u, int v, int ucount, SkPath* dst);
Sk1DPathEffect.h 21 #include "SkPath.h"
29 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
41 virtual SkScalar next(SkPath* dst, SkScalar distance, SkPathMeasure&) = 0;
64 SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style);
67 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
74 virtual SkScalar next(SkPath* dst, SkScalar distance, SkPathMeasure&);
80 SkPath fPath; // copied from constructor
SkCornerPathEffect.h 37 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
SkDiscretePathEffect.h 36 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
SkDashPathEffect.h 39 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
  /external/skia/src/effects/
Sk2DPathEffect.cpp 20 #include "SkPath.h"
25 Sk2DPathEffectBlitter(Sk2DPathEffect* pe, SkPath* dst)
34 SkPath* fDst;
44 bool Sk2DPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width)
47 SkPath tmp;
64 void Sk2DPathEffect::nextSpan(int x, int y, int count, SkPath* path)
77 void Sk2DPathEffect::begin(const SkIRect& uvBounds, SkPath* dst) {}
78 void Sk2DPathEffect::next(const SkPoint& loc, int u, int v, SkPath* dst) {}
79 void Sk2DPathEffect::end(SkPath* dst) {
    [all...]
Sk1DPathEffect.cpp 21 bool Sk1DPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width)
40 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance,
79 bool SkPath1DPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width)
119 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, SkScalar dist)
121 SkPath::Iter iter(src, false);
123 SkPath::Verb verb;
125 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb
    [all...]
SkCornerPathEffect.cpp 19 #include "SkPath.h"
47 bool SkCornerPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width)
52 SkPath::Iter iter(src, false);
53 SkPath::Verb verb, prevVerb = (SkPath::Verb)-1;
68 case SkPath::kMove_Verb:
70 if (SkPath::kLine_Verb == prevVerb) {
83 case SkPath::kLine_Verb:
101 case SkPath::kQuad_Verb
    [all...]
  /external/skia/include/utils/
SkCullPoints.h 53 class SkPath;
58 from lineTo, and automatically builds a SkPath with the result(s).
63 SkCullPointsPath(const SkIRect& r, SkPath* dst);
65 void reset(const SkIRect& r, SkPath* dst);
72 SkPath* fPath;
  /external/webkit/WebCore/platform/graphics/skia/
SkiaFontWin.h 38 class SkPath;
47 static const SkPath* lookupOrCreatePathForGlyph(HDC, HFONT, WORD);
PathSkia.cpp 38 #include "SkPath.h"
48 m_path = new SkPath;
53 m_path = new SkPath(*other.m_path);
80 rule == RULE_NONZERO ? SkPath::kWinding_FillType : SkPath::kEvenOdd_FillType);
184 SkPath::Iter iter(*m_path, false);
191 case SkPath::kMove_Verb:
195 case SkPath::kLine_Verb:
199 case SkPath::kQuad_Verb:
203 case SkPath::kCubic_Verb
    [all...]
  /frameworks/base/core/jni/android/graphics/
Path.cpp 18 // This file was generated from the C++ include file: SkPath.h
27 #include "SkPath.h"
34 static void finalizer(JNIEnv* env, jobject clazz, SkPath* obj) {
38 static SkPath* init1(JNIEnv* env, jobject clazz) {
39 return new SkPath();
42 static SkPath* init2(JNIEnv* env, jobject clazz, SkPath* val) {
43 return new SkPath(*val);
46 static void reset(JNIEnv* env, jobject clazz, SkPath* obj) {
50 static void rewind(JNIEnv* env, jobject clazz, SkPath* obj)
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
PathAndroid.cpp 34 #include "SkPath.h"
44 m_path = new SkPath;
45 // m_path->setFlags(SkPath::kWinding_FillType);
50 m_path = new SkPath(*other.m_path);
86 SkPath::FillType ft = m_path->getFillType(); // save
87 m_path->setFillType(rule == RULE_NONZERO ? SkPath::kWinding_FillType : SkPath::kEvenOdd_FillType);
198 SkPath tmp;
232 SkPath::Iter iter(*m_path, false);
241 case SkPath::kMove_Verb
    [all...]
  /external/skia/gm/
filltypes.cpp 6 SkPath fPath;
23 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
41 showPath(canvas, 0, 0, SkPath::kWinding_FillType,
43 showPath(canvas, 200, 0, SkPath::kEvenOdd_FillType,
45 showPath(canvas, 00, 200, SkPath::kInverseWinding_FillType,
47 showPath(canvas, 200, 200, SkPath::kInverseEvenOdd_FillType,

Completed in 97 milliseconds

1 2 3 4 5