Searched refs:SkPath (Results 1 - 25 of 108) sorted by relevance

12345

/external/skia/src/core/
H A DSkPathHeap.cpp2 #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** sto
[all...]
H A DSkPathHeap.h8 class SkPath;
22 int append(const SkPath&);
26 const SkPath& operator[](int index) const {
36 SkTDArray<SkPath*> fPaths;
H A DSkEdgeBuilder.cpp2 #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
[all...]
H A DSkStrokerPriv.h32 typedef void (*CapProc)(SkPath* path,
36 SkPath* otherPath);
38 typedef void (*JoinProc)(SkPath* outer, SkPath* inner,
H A DSkEdgeBuilder.h10 class SkPath;
16 int build(const SkPath& path, const SkIRect* clip, int shiftUp);
H A DSkPath.cpp1 /* libs/graphics/sgl/SkPath.cpp
18 #include "SkPath.h"
37 SkAutoPathBoundsUpdate(SkPath* path, const SkRect& r) : fRect(r) {
41 SkAutoPathBoundsUpdate(SkPath* path, SkScalar left, SkScalar top,
59 SkPath* fPath;
65 void init(SkPath* path) {
98 SkPath::SkPath() : fBoundsIsDirty(true), fFillType(kWinding_FillType) { function in class:SkPath
102 SkPath::SkPath(cons function in class:SkPath
[all...]
/external/skia/include/effects/
H A DSk2DPathEffect.h30 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);
H A DSk1DPathEffect.h21 #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
H A DSkDiscretePathEffect.h36 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
H A DSkCornerPathEffect.h37 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
H A DSkDashPathEffect.h39 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
/external/skia/include/core/
H A DSkStroke.h24 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;
H A DSkRasterizer.h25 class SkPath;
34 bool rasterize(const SkPath& path, const SkMatrix& matrix,
42 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
H A DSkPath.h28 /** \class SkPath
30 The SkPath class encapsulates compound (multiple contour) geometric paths
33 class SkPath { class
35 SkPath();
36 SkPath(const SkPath&);
37 ~SkPath();
39 SkPath& operator=(const SkPath&);
41 friend bool operator==(const SkPath
[all...]
H A DSkPathEffect.h22 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);
H A DSkPathMeasure.h20 #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;
H A DSkEdgeClipper.h20 #include "SkPath.h"
30 SkPath::Verb next(SkPoint pts[]);
34 SkPath::Verb* fCurrVerb;
41 SkPath::Verb fVerbs[kMaxVerbs];
/external/skia/src/effects/
H A DSk2DPathEffect.cpp20 #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* ds
[all...]
H A DSk1DPathEffect.cpp21 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
[all...]
H A DSkCornerPathEffect.cpp19 #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
[all...]
/external/skia/include/utils/
H A DSkCullPoints.h53 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/
H A DPathSkia.cpp38 #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
[all...]
H A DPlatformContextSkia.h42 #include "SkPath.h"
95 void clipPathAntiAliased(const SkPath&);
118 void setFillRule(SkPath::FillType);
137 void addPath(const SkPath&);
138 SkPath currentPathInLocalCoordinates() const;
176 void applyAntiAliasedClipPaths(WTF::Vector<SkPath>& paths);
192 SkPath m_path;
/external/webkit/WebCore/platform/graphics/android/
H A DPathAndroid.cpp34 #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
[all...]
/external/skia/gm/
H A Dfilltypes.cpp6 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 223 milliseconds

12345