michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkParsePaint_DEFINED michael@0: #define SkParsePaint_DEFINED michael@0: michael@0: #include "SkPaint.h" michael@0: #include "SkDOM.h" michael@0: michael@0: /** "color" color michael@0: "opacity" scalar [0..1] michael@0: "stroke-width" scalar (0...inf) michael@0: "text-size" scalar (0..inf) michael@0: "is-stroke" bool michael@0: "is-antialias" bool michael@0: "is-lineartext" bool michael@0: */ michael@0: void SkPaint_Inflate(SkPaint*, const SkDOM&, const SkDOM::Node*); michael@0: michael@0: #endif