diff options
author | reed <reed@google.com> | 2015-12-22 04:36:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 04:36:57 -0800 |
commit | 83ba585ecbf0270261196cf90ceaeeb22d345452 (patch) | |
tree | 250a6a9340d923add5aed340aa5868ab9cba70e3 /include/views | |
parent | 9ebc3f0ee6db215dde461dc4777d85988cf272dd (diff) |
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
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkParsePaint.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 |