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

Unified Diff: include/core/SkDraw.h

Issue 85653004: Move distance field font code into SkGpuDevice (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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: include/core/SkDraw.h
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h
index 8ccb1c0116c8c5c5232852bbe53f2c11d205c26b..7aec5e776aa4dc7b82b461389aa2378d79244e53 100644
--- a/include/core/SkDraw.h
+++ b/include/core/SkDraw.h
@@ -107,6 +107,7 @@ public:
static RectType ComputeRectType(const SkPaint&, const SkMatrix&,
SkPoint* strokeSize);
+ bool shouldDrawTextAsPaths(const SkPaint&, const SkMatrix&) const;
reed1 2013/11/25 21:24:34 why did this go from static to member?
void drawText_asPaths(const char text[], size_t byteLength,
SkScalar x, SkScalar y, const SkPaint&) const;
void drawPosText_asPaths(const char text[], size_t byteLength,
@@ -131,8 +132,6 @@ private:
bool SK_WARN_UNUSED_RESULT
computeConservativeLocalClipBounds(SkRect* bounds) const;
- static bool ShouldDrawTextAsPaths(const SkPaint&, const SkMatrix&);
-
public:
const SkBitmap* fBitmap; // required
const SkMatrix* fMatrix; // required
« no previous file with comments | « include/core/SkDevice.h ('k') | include/core/SkPaint.h » ('j') | src/core/SkDraw.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698