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

1234567891011>>

/external/chromium_org/third_party/skia/include/pathops/
H A DSkPathOps.h12 class SkPath;
14 // FIXME: move everything below into the SkPath class
41 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
55 bool SK_API Simplify(const SkPath& path, SkPath* result);
/external/skia/include/pathops/
H A DSkPathOps.h12 class SkPath;
14 // FIXME: move everything below into the SkPath class
41 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
55 bool SK_API Simplify(const SkPath& path, SkPath* result);
/external/skia/tests/
H A DPathOpsInverseTest.cpp10 SkPath one, two;
12 for (int oneFill = SkPath::kWinding_FillType; oneFill <= SkPath::kInverseEvenOdd_FillType;
14 for (int oneDir = SkPath::kCW_Direction; oneDir != SkPath::kCCW_Direction; ++oneDir) {
16 one.setFillType((SkPath::FillType) oneFill);
17 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir);
18 for (int twoFill = SkPath::kWinding_FillType;
19 twoFill <= SkPath::kInverseEvenOdd_FillType; ++twoFill) {
20 for (int twoDir = SkPath
[all...]
H A DPathOpsExtendedTest.h11 #include "SkPath.h"
25 //extern int comparePaths(const SkPath& one, const SkPath& two);
26 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
27 extern bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths);
29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
31 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath
[all...]
H A DPathOpsSimplifyTest.cpp12 SkPath path;
21 SkPath path;
22 path.setFillType(SkPath::kEvenOdd_FillType);
30 static void addInnerCWTriangle(SkPath& path) {
37 static void addInnerCCWTriangle(SkPath& path) {
44 static void addOuterCWTriangle(SkPath& path) {
51 static void addOuterCCWTriangle(SkPath& path) {
59 SkPath path;
60 path.setFillType(SkPath::kEvenOdd_FillType);
67 SkPath pat
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkParsePath.h13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
H A DSkPathUtils.h12 #include "SkPath.h"
27 static void BitsToPath_Path(SkPath* path, const char* bitmap,
35 static void BitsToPath_Region(SkPath* path, const char* bitmap,
H A DSkCullPoints.h46 class SkPath;
51 from lineTo, and automatically builds a SkPath with the result(s).
56 SkCullPointsPath(const SkIRect& r, SkPath* dst);
58 void reset(const SkIRect& r, SkPath* dst);
65 SkPath* fPath;
68 bool SkHitTestPath(const SkPath&, SkRect& target, bool hires);
69 bool SkHitTestPath(const SkPath&, SkScalar x, SkScalar y, bool hires);
/external/skia/include/utils/
H A DSkParsePath.h13 #include "SkPath.h"
19 static bool FromSVGString(const char str[], SkPath*);
20 static void ToSVGString(const SkPath&, SkString*);
H A DSkPathUtils.h12 #include "SkPath.h"
27 static void BitsToPath_Path(SkPath* path, const char* bitmap,
35 static void BitsToPath_Region(SkPath* path, const char* bitmap,
H A DSkCullPoints.h46 class SkPath;
51 from lineTo, and automatically builds a SkPath with the result(s).
56 SkCullPointsPath(const SkIRect& r, SkPath* dst);
58 void reset(const SkIRect& r, SkPath* dst);
65 SkPath* fPath;
68 bool SkHitTestPath(const SkPath&, SkRect& target, bool hires);
69 bool SkHitTestPath(const SkPath&, SkScalar x, SkScalar y, bool hires);
/external/chromium_org/third_party/skia/src/core/
H A DSkPathHeap.cpp9 #include "SkPath.h"
16 SkPathHeap::SkPathHeap() : fHeap(kPathCount * sizeof(SkPath)) {
20 : fHeap(kPathCount * sizeof(SkPath)) {
24 SkPath** ptr = fPaths.begin();
25 SkPath* p = (SkPath*)fHeap.allocThrow(count * sizeof(SkPath));
28 new (p) SkPath;
36 SkPath** iter = fPaths.begin();
37 SkPath** sto
[all...]
H A DSkPathHeap.h15 class SkPath;
31 int append(const SkPath&);
35 const SkPath& operator[](int index) const {
45 SkTDArray<SkPath*> fPaths;
/external/skia/src/core/
H A DSkPathHeap.cpp9 #include "SkPath.h"
16 SkPathHeap::SkPathHeap() : fHeap(kPathCount * sizeof(SkPath)) {
20 : fHeap(kPathCount * sizeof(SkPath)) {
24 SkPath** ptr = fPaths.begin();
25 SkPath* p = (SkPath*)fHeap.allocThrow(count * sizeof(SkPath));
28 new (p) SkPath;
36 SkPath** iter = fPaths.begin();
37 SkPath** sto
[all...]
H A DSkPathHeap.h15 class SkPath;
31 int append(const SkPath&);
35 const SkPath& operator[](int index) const {
45 SkTDArray<SkPath*> fPaths;
/external/chromium_org/ui/gfx/
H A Dpath_win.h12 class SkPath;
23 GFX_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
/external/skia/tools/
H A Dpath_utils.h12 class SkPath;
34 void dump_path(SkFILEWStream* pathStream, const SkPath& path);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp24 void SkOpEdgeBuilder::addOperand(const SkPath& path) {
25 SkASSERT(fPathVerbs.count() > 0 && fPathVerbs.end()[-1] == SkPath::kDone_Verb);
46 fPathVerbs.push_back(SkPath::kLine_Verb);
51 fPathVerbs.push_back(SkPath::kClose_Verb);
61 SkPath::RawIter iter(*fPath);
65 SkPath::Verb verb;
70 case SkPath::kMove_Verb:
79 case SkPath::kLine_Verb:
82 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath
[all...]
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp24 void SkOpEdgeBuilder::addOperand(const SkPath& path) {
25 SkASSERT(fPathVerbs.count() > 0 && fPathVerbs.end()[-1] == SkPath::kDone_Verb);
46 fPathVerbs.push_back(SkPath::kLine_Verb);
51 fPathVerbs.push_back(SkPath::kClose_Verb);
61 SkPath::RawIter iter(*fPath);
65 SkPath::Verb verb;
70 case SkPath::kMove_Verb:
79 case SkPath::kLine_Verb:
82 if (lastVerb != SkPath::kLine_Verb && lastVerb != SkPath
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDefaultPathRenderer.h22 virtual bool canDrawPath(const SkPath&,
29 virtual StencilSupport onGetStencilSupport(const SkPath&,
33 virtual bool onDrawPath(const SkPath&,
38 virtual void onStencilPath(const SkPath&,
42 bool internalDrawPath(const SkPath&,
47 bool createGeom(const SkPath&,
H A DGrStencilAndCoverPathRenderer.h28 virtual bool canDrawPath(const SkPath&,
34 virtual StencilSupport onGetStencilSupport(const SkPath&,
38 virtual bool onDrawPath(const SkPath&,
43 virtual void onStencilPath(const SkPath&,
/external/skia/src/gpu/
H A DGrDefaultPathRenderer.h22 virtual bool canDrawPath(const SkPath&,
29 virtual StencilSupport onGetStencilSupport(const SkPath&,
33 virtual bool onDrawPath(const SkPath&,
38 virtual void onStencilPath(const SkPath&,
42 bool internalDrawPath(const SkPath&,
47 bool createGeom(const SkPath&,
H A DGrStencilAndCoverPathRenderer.h28 virtual bool canDrawPath(const SkPath&,
34 virtual StencilSupport onGetStencilSupport(const SkPath&,
38 virtual bool onDrawPath(const SkPath&,
43 virtual void onStencilPath(const SkPath&,
/external/chromium_org/third_party/skia/include/effects/
H A DSk2DPathEffect.h11 #include "SkPath.h"
19 virtual bool filterPath(SkPath*, const SkPath&,
31 virtual void begin(const SkIRect& uvBounds, SkPath* dst) const;
32 virtual void next(const SkPoint& loc, int u, int v, SkPath* dst) const;
33 virtual void end(SkPath* dst) const;
39 virtual void nextSpan(int u, int v, int ucount, SkPath* dst) const;
64 virtual bool filterPath(SkPath* dst, const SkPath& src,
70 virtual void nextSpan(int u, int v, int ucount, SkPath*) cons
[all...]
/external/skia/include/effects/
H A DSk2DPathEffect.h11 #include "SkPath.h"
19 virtual bool filterPath(SkPath*, const SkPath&,
31 virtual void begin(const SkIRect& uvBounds, SkPath* dst) const;
32 virtual void next(const SkPoint& loc, int u, int v, SkPath* dst) const;
33 virtual void end(SkPath* dst) const;
39 virtual void nextSpan(int u, int v, int ucount, SkPath* dst) const;
64 virtual bool filterPath(SkPath* dst, const SkPath& src,
70 virtual void nextSpan(int u, int v, int ucount, SkPath*) cons
[all...]

Completed in 1232 milliseconds

1234567891011>>