Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: src/pdf/SkPDFDevice.cpp

Issue 925343003: use common impl for drawTextOnPath (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: move includes to the top Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/pdf/SkPDFDevice.cpp
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index c3ee262db34ab3b6f149ba98ee61a855e9cca886..a15571a5b306b72dd441b7341aeb3d1c7891f153 100644
--- a/src/pdf/SkPDFDevice.cpp
+++ b/src/pdf/SkPDFDevice.cpp
@@ -1194,15 +1194,6 @@ void SkPDFDevice::drawPosText(const SkDraw& d, const void* text, size_t len,
content.entry()->fContent.writeText("ET\n");
}
-void SkPDFDevice::drawTextOnPath(const SkDraw& d, const void* text, size_t len,
- const SkPath& path, const SkMatrix* matrix,
- const SkPaint& paint) {
- if (d.fClip->isEmpty()) {
- return;
- }
- d.drawTextOnPath((const char*)text, len, path, matrix, paint);
-}
-
void SkPDFDevice::drawVertices(const SkDraw& d, SkCanvas::VertexMode,
int vertexCount, const SkPoint verts[],
const SkPoint texs[], const SkColor colors[],

Powered by Google App Engine
This is Rietveld 408576698