aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePolyToPoly.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-11-21 10:18:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-21 15:44:19 +0000
commit11adf3200d44189e546f17730a61f44bf1678e07 (patch)
tree5b36e9b66f3cfb1c844c79a5d5a03fc5fa0b5482 /samplecode/SamplePolyToPoly.cpp
parentcac381990140eb1966f8fe1e81b5930fd994fda7 (diff)
Remove clutter from experimental
SkMatrix has the canonical version of setPolyToPoly, we don't need three other copies sitting around. SkBorder appears to be useless. Bug: skia: Change-Id: Ie747ff7af6cf1d03e6276e8d7fe57e9b3e4ad411 Reviewed-on: https://skia-review.googlesource.com/74141 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SamplePolyToPoly.cpp')
-rw-r--r--samplecode/SamplePolyToPoly.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/samplecode/SamplePolyToPoly.cpp b/samplecode/SamplePolyToPoly.cpp
index f947251b55..3cfba5ebdb 100644
--- a/samplecode/SamplePolyToPoly.cpp
+++ b/samplecode/SamplePolyToPoly.cpp
@@ -12,8 +12,6 @@
#include "SkRandom.h"
#include "SkTime.h"
-extern bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
-
class PolyToPolyView : public SampleView {
public:
PolyToPolyView() {
@@ -63,10 +61,6 @@ public:
SkMatrix m0;
m0.setPolyToPoly(src, dst, 3);
- // SkMatrix m1;
- // SkSetPoly3To3(&m1, src, dst);
- // m0.dump();
- // m1.dump();
}
}
}