gfx/skia/trunk/src/gpu/GrAAConvexPathRenderer.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/gpu/GrAAConvexPathRenderer.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2012 Google Inc.
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +
    1.12 +#include "GrPathRenderer.h"
    1.13 +
    1.14 +
    1.15 +class GrAAConvexPathRenderer : public GrPathRenderer {
    1.16 +public:
    1.17 +    GrAAConvexPathRenderer();
    1.18 +
    1.19 +    virtual bool canDrawPath(const SkPath& path,
    1.20 +                             const SkStrokeRec& stroke,
    1.21 +                             const GrDrawTarget* target,
    1.22 +                             bool antiAlias) const SK_OVERRIDE;
    1.23 +
    1.24 +protected:
    1.25 +    virtual bool onDrawPath(const SkPath& path,
    1.26 +                            const SkStrokeRec& stroke,
    1.27 +                            GrDrawTarget* target,
    1.28 +                            bool antiAlias) SK_OVERRIDE;
    1.29 +};

mercurial