Index: src/gpu/GrDistanceFieldGenFromVector.h |
diff --git a/src/gpu/GrDistanceFieldGenFromVector.h b/src/gpu/GrDistanceFieldGenFromVector.h |
deleted file mode 100644 |
index 1d83ee28ff52f0bfcccd176caec8a5781c7256b1..0000000000000000000000000000000000000000 |
--- a/src/gpu/GrDistanceFieldGenFromVector.h |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-/* |
- * Copyright 2016 ARM Ltd. |
- * |
- * Use of this source code is governed by a BSD-style license that can be |
- * found in the LICENSE file. |
- */ |
- |
-#ifndef GrDistanceFieldGenFromVector_DEFINED |
-#define GrDistanceFieldGenFromVector_DEFINED |
- |
-#include "SkDistanceFieldGen.h" |
-#include "SkPath.h" |
-#include "SkMatrix.h" |
- |
-/** Given a vector path, generate the associated distance field. |
- |
- * @param distanceField The distance field to be generated. Should already be allocated |
- * by the client with the padding defined in "SkDistanceFieldGen.h". |
- * @param path The path we're using to generate the distance field. |
- * @param matrix Transformation matrix for path. |
- * @param width Width of the distance field. |
- * @param height Height of the distance field. |
- * @param rowBytes Size of each row in the distance field, in bytes. |
- */ |
-bool GrGenerateDistanceFieldFromPath(unsigned char* distanceField, |
- const SkPath& path, const SkMatrix& viewMatrix, |
- int width, int height, size_t rowBytes); |
- |
-inline bool IsDistanceFieldSupportedFillType(SkPath::FillType fFillType) |
-{ |
- return (SkPath::kEvenOdd_FillType == fFillType || |
- SkPath::kInverseEvenOdd_FillType == fFillType); |
-} |
- |
-#endif |