From 83ba585ecbf0270261196cf90ceaeeb22d345452 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 22 Dec 2015 04:36:57 -0800 Subject: move SkParsePaint.h into views BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1547653002 TBR= Review URL: https://codereview.chromium.org/1547653002 --- include/views/SkParsePaint.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/views/SkParsePaint.h (limited to 'include/views') diff --git a/include/views/SkParsePaint.h b/include/views/SkParsePaint.h new file mode 100644 index 0000000000..066292f9c7 --- /dev/null +++ b/include/views/SkParsePaint.h @@ -0,0 +1,26 @@ + +/* + * Copyright 2006 The Android Open Source Project + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + + +#ifndef SkParsePaint_DEFINED +#define SkParsePaint_DEFINED + +#include "SkPaint.h" +#include "SkDOM.h" + +/** "color" color + "opacity" scalar [0..1] + "stroke-width" scalar (0...inf) + "text-size" scalar (0..inf) + "is-stroke" bool + "is-antialias" bool + "is-lineartext" bool +*/ +void SkPaint_Inflate(SkPaint*, const SkDOM&, const SkDOM::Node*); + +#endif -- cgit v1.2.3