Index: tools/sk_tool_utils.h |
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h |
index 0299e742d2cd847eb93a9a94428b6250b3e3c562..d9345a6b922f008999ad12092ff990dc0f97dabc 100644 |
--- a/tools/sk_tool_utils.h |
+++ b/tools/sk_tool_utils.h |
@@ -19,6 +19,7 @@ class SkCanvas; |
class SkPaint; |
class SkShader; |
class SkTestFont; |
+class SkTextBlobBuilder; |
namespace sk_tool_utils { |
@@ -69,6 +70,10 @@ namespace sk_tool_utils { |
} |
}; |
+ // A helper for inserting a drawtext call into a SkTextBlobBuilder |
+ void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, |
+ SkScalar x, SkScalar y); |
+ |
} // namespace sk_tool_utils |
#endif // sk_tool_utils_DEFINED |